<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://vista.su.domains/psych221wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Bohan</id>
	<title>Psych 221 Image Systems Engineering - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://vista.su.domains/psych221wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Bohan"/>
	<link rel="alternate" type="text/html" href="http://vista.su.domains/psych221wiki/index.php?title=Special:Contributions/Bohan"/>
	<updated>2026-04-19T03:39:51Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=34088</id>
		<title>Medical imaging: Simulations of reflectance and fluorescence of human tissue</title>
		<link rel="alternate" type="text/html" href="http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=34088"/>
		<updated>2023-12-18T19:49:53Z</updated>

		<summary type="html">&lt;p&gt;Bohan: /* Conclusions and Outlook */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
Squamous dysplasia, a precursor to squamous cell carcinoma, represents a spectrum of histological alterations within the epithelium, characterized by abnormal cellular morphology and metabolism. Early identification is critical to prevent the progression to invasive carcinoma. Auto fluorescent imaging (AFI) has emerged as a promising non-invasive technique for the detection of squamous dysplasia. Flavin adenine dinucleotide (FAD), an essential co-factor in cellular oxidative metabolism, undergoes changes in concentration and redox state during dysplastic transformations. Studies indicate a correlation between dysplastic progression and altered FAD levels, leading to variations in tissue fluorescence&amp;lt;math&amp;gt;^1&amp;lt;/math&amp;gt;. Lower FAD concentrations in dysplastic areas manifest as decreased fluorescence intensity level, which in principle can be imaged with AFI.&lt;br /&gt;
&lt;br /&gt;
AFI uses the intrinsic fluorescent properties of endogenous molecules within tissues. Under appropriate excitation wavelengths, endogenous fluorophores emit light, providing real-time visualization of tissue morphology. The altered metabolic activity and subsequent changes in FAD concentrations in dysplastic tissues offer a distinct fluorescence pattern that is in principle discernible through AFI.&lt;br /&gt;
&lt;br /&gt;
In clinical settings, AFI demonstrates promise as a non-invasive tool for identifying early dysplastic lesions. Its ability to highlight subtle changes in tissue autofluorescence can aid in targeted biopsies and delineation of margins during surgical interventions. In this project, we explore imaging of dysplastic tissues by using optical Monte Carlo based fluorescence simulations. We identify qualitative trends of image quality with respect to dysplastic lesion size, depth, and fluorophore concentration change. Understanding how photons interact with fluorophores, the probability of excitation, and the emitted fluorescence intensity can assist in predicting and interpreting experimental fluorescence measurements.&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
[[File:optical.png|300px|right| thumb | The optical processes in skin tissue, including reflection, scattering, absorption, and fluorescence. ]]&lt;br /&gt;
&lt;br /&gt;
=== Optical Processes in Skin Tissue ===&lt;br /&gt;
&lt;br /&gt;
When shining light into the skin, there are multiple light-matter interaction processes happening simultaneously, including reflection, absorption, scattering, and fluorescence as depicted in the figure below. &lt;br /&gt;
&lt;br /&gt;
The key process in this study is fluorescence. When short wavelength photon is absorbed, the material will re-emit photon at a longer wavelength and smaller energy. In the epidermis layer of the skin tissue, there are two fluorescence molecules, FAD and NADH, which are related to metabolic activities of cells. By measuring the fluorescence activities, one can monitor the localized concentration of FAD and NADH in the epidermis layer, therefore acquiring early signs on potnetial dysplasia. To model the fluorescence activities in the epidermis layer, the fluorophore is assumed to be uniformly distributed in the epidermis layer as a solution while the dysplastic region can be regarded as some localized volume with a different concentration comparing to the surrounding medium. &lt;br /&gt;
&lt;br /&gt;
Reflection refers to the back-scatter of photon at the interface between different materials when the index of refraction changes. Since the main composition of human skin is water, the variation of index of refraction is minor therefore there is negligible amount of reflection inside human skin. The strongest reflection happens at the surface of skin where photon hits the skin tissue from air. This can result in a spectral reduction of the number of photons actually entering into the skin, which results in a reduction in the actual fluorescence signal strength. &lt;br /&gt;
&lt;br /&gt;
Absorption is an intrinsic property of light-matter interaction where the amplitude of electromagnetic field attenuates as propagating. The absorption in a solution can be quatitatively described using the Beer-Lambert law, where the intensity of light decay exponentially as it travels in the absorptive medium. The decay rate is characterized by the absorption coefficient &amp;lt;math&amp;gt; \mu_\alpha &amp;lt;/math&amp;gt; which is a function of the solvend absorpsivity and its concentration. In human skin tissue, the total amount of absorption can be decomposed into several different components, including absorption from water, fat, melanin, and blood content, which can be cast by an empirical equation [REF]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; mu_{\alpha} =BS\mu_{\alpha,oxy} + B (1-S) \mu_{\alpha,deoxy} + W\mu_{\alpha,water} + F\mu_{\alpha,fat} + M\mu_{\alpha,melanosome} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The scattering process refers to the change in the direction of motion when the photon interacts with the material (mainly the nuclei). In the actual scenario of fluorescence detection, the scattering process can result in two consequences including the attenuation of number of photons in the forward propagating direction, and introducing distortion to the localized signal. The second consequence is the critical factor of reducing the signal to noise ratio, as the localized signal from the dysplasia is smeared by the uncertain scattering processes.&lt;br /&gt;
&lt;br /&gt;
=== Simulation Congifuration ===&lt;br /&gt;
&lt;br /&gt;
[[File:simulation.png|1000px|center| thumb | The schematic of the simulation. The fluorophore is excited by 425 nm light while maximally emitting at 530 nm. On the right side the fluorescence spectrum is presented, which supports the choices on excitation and detection wavelengthes since it maximizes the fluorescence from FAD and suppresses fluorescence from NADH. ]]&lt;br /&gt;
&lt;br /&gt;
To model the optical behavior, one can extract the physical system into an emission and propagation problem as shown in the figure above. The dysplasia is characterized by a confined region inside the epidermis layer with a reduced FAD concentration. Due to the concentration change the fluorescence emission pattern will change correspondingly, which will result in a difference in signal collected by the external photodetector. The wavelengthes of pump beam and detection are carefully chosen. The pump light wavelength in our simulation is set to 425 nm to maximize FAD absorption while suppress NADH excitation. The detection wavelength is set to 530 nm for the maximum FAD fluorescence signal and reduced signal from other fluorophores as well. The final signal collected can also include the contribution from the collagen mainly in the bottom dermis layer, which can be treated as noise.&lt;br /&gt;
&lt;br /&gt;
== Methods ==&lt;br /&gt;
&lt;br /&gt;
=== Monte Carlo Simulation ===&lt;br /&gt;
&lt;br /&gt;
Monte Carlo simulations is a useful tool for modeling and understanding the intricate behaviors of light propagation through tissues. These simulations rely on probabilistic algorithms that simulate numerous random trajectories of photons within a medium, enabling the prediction and analysis of light transport in complex systems. These trajectories are based on scattering events and the optical properties of the medium. As photons travel, they undergo interactions, either scattering off structures within the tissue or getting absorbed. The simulations track the path lengths and angles of these photons, ultimately predicting the reflectance and absorption profiles. &lt;br /&gt;
&lt;br /&gt;
To simulate fluorescence, an initial simulation models the absorption of incident photons by fluorescent molecules like FAD or other fluorophores. The resulting absorption profile is then used as a source for fluorescent light of a different wavelength and the Monte Carlo algorithm is applied again.&lt;br /&gt;
&lt;br /&gt;
=== MCMatlab ===&lt;br /&gt;
&lt;br /&gt;
We decided to use MCmatlab based on a class project from last year, where it was implemented to simulate diffuse reflectance of different oxygenation levels for various skin types. &lt;br /&gt;
&lt;br /&gt;
In MCMatlab a medium is defined by specifying a set of parameters&amp;lt;math&amp;gt;^2&amp;lt;/math&amp;gt;. The relevant parameters in our simulation are: Absorption coefficient ‘&amp;lt;math&amp;gt;\mu_a&amp;lt;/math&amp;gt;’, Scattering coefficient ‘&amp;lt;math&amp;gt;\mu_s&amp;lt;/math&amp;gt;’, Emission spectrum ‘&amp;lt;math&amp;gt;\epsilon_{\lambda}&amp;lt;/math&amp;gt;’, Quantum yield &#039;QY&#039;, Henyey-Greenstein Scattering anisotropy factor ‘g’ and Refractive Index ‘n’. &lt;br /&gt;
&lt;br /&gt;
All quantities are a function of wavelength. The absorption coefficient is given in units of cm&amp;lt;math&amp;gt;^{-1}&amp;lt;/math&amp;gt;. The scattering coefficient is expressed as the fraction of photons getting scattered while traveling in a medium per unit distance. The emission spectrum describes the relative spectral power emitted for each wavelength. The quantum yield is defined as the number of photons emitted per absorbed photons. Henyey-Greenstein Scattering anisotropy factor has a value between 0 and 1 and  quantifies the degree of angular distribution in the scattering of photons within a medium. More concretely, g = 0 signifies purely isotropic scattering, indicating an equal probability of scattering in all directions while g = 1 represents completely forward-peaked scattering, indicating a strong preference for photons to be scattered in the forward direction. See referenced documentation for full details about all parameters. &lt;br /&gt;
&lt;br /&gt;
Relevant parameters for surrounding tissue of varying levels of blood, blood oxygenation, water and fat were extracted from Jacques&#039; work&amp;lt;math&amp;gt;^3&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Equivalent Model of Fluorophore Solution ===&lt;br /&gt;
When considering the optical response of the epidermis layer for blue light, absorption occurs both directly in FAD as well as in the rest of the tissue. In MCmatlab, a material can only be defined by a single absorption coefficient and emissivity spectrum. This presents a problem since absorption from surrounding tissue artificially contribute to FAD fluorescence in the model. Unfortunately,  this yields an unacceptable degree of inaccuracy as the overall absorption by the tissue is large compared to the absorption in FAD, due to its low concentration. In other words, the majority of the fluorescence would come from absorption in tissue which normally does not fluoresce. This also makes it hard to model subtle changes in FAD levels due to the strong artificial fluorescence background.&lt;br /&gt;
&lt;br /&gt;
[[File:model.png|500px|thumb|center|The multilayer model for fluorescence Monte Carlo simulation. ]]&lt;br /&gt;
&lt;br /&gt;
To solve this issue, we introduce a multilayer model where FAD molecules distributed in a volume is collected into thin planes spread across the volume (see Figure 1). By separating FAD from the rest of the tissue components, we can define two separate media in MCmatlab with their respective optical properties, avoiding the issue of artificial fluorescence. However, changing the geometry in this way will also affect the optical response. Below, we derive an expression to correct for the geometrical change. &lt;br /&gt;
&lt;br /&gt;
The total optical absorption can be described as:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \propto \int dV (-J)\cdot E = \int dV (-i\omega\varepsilon_0 \chi |E|^2) = \int dV \omega\varepsilon_0 \chi&#039;&#039; |E|^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;J&amp;lt;/math&amp;gt; is the current density, &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; is the electric field, &amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; is the angular frequency of light, &amp;lt;math&amp;gt; \varepsilon_0&amp;lt;/math&amp;gt;  is the free space electric permittivity, &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  is the material susceptibility, and &amp;lt;math&amp;gt;\chi&#039;&#039;&amp;lt;/math&amp;gt; is the imaginary part of &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  representing the optical absorption of a certain material. Under the representation of Beer-Lambert law, the electric field penetrating in the skin can be described as an exponential decay: &amp;lt;math&amp;gt; E = E_0 \exp(-\mu_\alpha z) &amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; is the material absorpsivity in the unit of [cm]&amp;lt;math&amp;gt;^{-1}&amp;lt;/math&amp;gt;. Substituting the exponentially decaying electric field into the absorption expression and applying our one-dimensional multilayer geometry: &lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \cong C \int_{0}^{L_z} dz \exp(-2\mu_\alpha z) = C\frac{1-\exp(-2\mu_\alpha L_z)}{2\mu_\alpha} &amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;L_z&amp;lt;/math&amp;gt; is the total length in z direction. &lt;br /&gt;
&lt;br /&gt;
For convenience, one can also define the ratiometric absorbance: &amp;lt;math&amp;gt; A = -\log(\frac{I_d}{I_0}) = \mu_\alpha L_z &amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
To have the same amount of absorption in the fluorophore when using the multilayer model, we need to equivalently adjust the optical property &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; of the material to balance the effect of shrinking the volume occupied by the fluorophore. Gathering the fluorophore into a thin slab of thickness &amp;lt;math&amp;gt;\Delta{z} &amp;lt;/math&amp;gt;, the absorbance here is: &amp;lt;math&amp;gt; A= \mu_\alpha&#039; \Delta{z}&amp;lt;/math&amp;gt;. Therefore one can increase the absorption coefficient to compensate for the reduced volume. This hold true as long as the field variation across the sub-volume is linear. When &amp;lt;math&amp;gt;\mu_\alpha L_z\ll1&amp;lt;/math&amp;gt;, the field decay is approximately linear for a small change in z: &amp;lt;math&amp;gt;\exp(-\mu_\alpha&#039;z) \approx 1-\mu_\alpha&#039;z &amp;lt;/math&amp;gt; for small z. Thus, we can always compensate the change in geometry by choosing a sufficiently small spacing between the thin planes relative to the absorptivity of the material.&lt;br /&gt;
&lt;br /&gt;
Using the equivalent absorpsivity correction, the total absorption is the same. In addition, the blue photon absorbed by FAD will result in the fluorescence emission, such that the correct FAD fluorescence activity can be simulated.&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
&lt;br /&gt;
The properties of the dysplastic region directly determines the fluorescence signal. Here, the properties refer to the geometry size, shape, the fluorophore concentration, and the location inside the skin tissue. Below, we will carry out a few computational and numerical experiments to qualitatively describe the dependence between the fluorescence signal strength and these factors. The simulation is conducted based on MCMatlab Fluorescence Monte Carlo simulation package. &lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Width ===&lt;br /&gt;
[[File:results1_updated.png|900px|thumb|center| (a) Schematic of the geometry, which is defined as a one-dimensional variation in FAD concentration with a low concentration at the central part representing the dysplastic region. (b) The actual fluorescence signal measured as a function of x position. The contrast signal is extracted as the ratio between the magnitude of the dip and the maximum signal level. (c) The dependence betweewn the width of the dysplastic region and the fluorescence contrast signal. (d) The measured fluorescence signal for each width value with an increasing width from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
For the first study, the simulated geometry is defined as a one-dimensional concentration variation in &amp;quot;x&amp;quot; as shown in the figure above with a lower FAD concentration at the central region representing the dysplastic region. The width of the dysplastic region is swept and the output fluorescence contrast signal is measured. It is shown that the contrast signal first goes up, then saturates at w~0.35 mm. At small width values, the signals are mixed up from the two edges where the concentration changes sharply, so that one cannot resolve the full contrast signal. When the two edges are separated sufficiently far, the full signal can be resolved, giving a relative fluorescence contrast as 0.3.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Depth ===&lt;br /&gt;
Next, the qualitative relation is studied between the depth of the dysplastic region inside the skin and the fluorescence contrast signal. In this case, the geometry is defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm and the thickness to 0.1 mm. The depth is set as the swept parameter, and it is defined as the distance between the top surface of the epidermis layer and the top surface of the rectangular wire. &lt;br /&gt;
&lt;br /&gt;
[[File:results2_updated.png|600px|thumb|center| (a) Schematic of the geometry, where the FAD concentration inside the rectangular rod is lower, representing the dysplastic region. The depth of the rectangular wire is swept. (b) The dependence betweewn the depth of the dysplastic region and the fluorescence contrast signal. The red dashed line illustrates an exponential fitting of the simulation results. (c) The measured fluorescence signal for each depth value with an increasing depth from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that the fluorescence contrast signal decreases as the depth increases, which agrees with intuition. As for a deeper location inside the skin, it takes farther distance for the fluorescent light to travel out, therefore the distortion introduced by the scattering events as the light propagates through the skin tissue is stronger. In addition, the attenuation from both scattering and absorption is stronger as well, which further reduces the SNR. For depth greater than 0.1 mm, the contrast signal strength is nearly vanishing.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the FAD Concentration Difference ===&lt;br /&gt;
Similarly, the strength of the contrast signal should also be a function of the concentration difference of FAD between the dysplastic and the healthy tissue. The geometry is again defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm, the thickness to 0.1 mm, and the depth is set to 0.04 mm. The volumetric concentration of FAD in the healthy region is fixed to 0.2 while the FAD concentration in the dysplastic region is varied from 0 to 0.2. &lt;br /&gt;
&lt;br /&gt;
[[File:results32_updated.png|900px|thumb|center| (a,c) Schematic of the geometry, (a) has a shallower dysplastic region while it is deeper in (c). The FAD concentration inside the rectangular rod is swept. (b,d) The dependence betweewn the concentration difference and the fluorescence contrast signal. (c) The measured fluorescence signal for each concentration value with a decreasing concentration contrast from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that for 0.04 mm as the depth, the fluorescence contrast signal is linearly proportional to the FAD concentration difference, which again agrees with intuition. The concentration difference determines the distribution in the number of fluorescence emitter, which is equivalent to the source and directly proportional to the fluorescence intensity. When increasing the depth of the rectangular wire to 0.1 mm, again the linear dependence is shown however with an overall lower amplitude, representing the decrease in the number of fluorescence emitter.&lt;br /&gt;
&lt;br /&gt;
=== Image Quality and Simulation Limitations  ===&lt;br /&gt;
Optical Monte Carlo simulations, while powerful and versatile, are computationally demanding due to the nature of light propagation and the need to model a vast number of photon trajectories. The computational expense arises from the necessity to track individual photon interactions and their probabilistic behavior as they scatter, absorb, and move through the medium.  Modeling three-dimensional environments adds complexity, as simulations must account for photon movements in all spatial directions within the medium. To illustrate this, a regular high performance laptop were able to simulate about 10&amp;lt;math&amp;gt;^6&amp;lt;/math&amp;gt; photons per minute, while a 1mW light source at 400 nm emits 10&amp;lt;math&amp;gt;^{15}&amp;lt;/math&amp;gt; photons per second. This can be a problem when trying to model realistic scenarios with low signal to noise. Figure 5 shows a set of images of an embedded dysplastic lesion in healthy tissue, with varying number of simulated photons. The images corresponds to a total simulation time of 4, 40 and 400 minutes, respectively (half to acquire the absorption profile and half for the fluorescence signal).&lt;br /&gt;
&lt;br /&gt;
[[File:imagesAndSchematic.png|900px|thumb|center| a) Schematic of simulation. A 425nm LED is used as an excitation source and fluorescence is collected at 530nm. b) Image quality as a function of simulation number of photons simulated. Top) Collected images of an embedded dysplastic lesion inside healthy tissue. Bottom) Cross section of the image intensity.  ]]&lt;br /&gt;
&lt;br /&gt;
== Conclusions and Outlook ==&lt;br /&gt;
In this project, we explored the usage of the Monte Carlo simulation in fluorescence detection. The MCMatlab simulation package is used for the computational calculation. Using the package, we conducted numerical experiments to study the dependence between the fluorescence signal from oral dysplasia and the properties of the dysplasia region, including the geometries, the material properties, which draws valuable qualitative conclusions for future studies in more depth. &lt;br /&gt;
&lt;br /&gt;
The future directions can be diverse. For example, one could explore on multi-wavelength excitation to simultaneously excite multiple species of fluorescence events. Based on that, one can implement advanced detection scheme to further enhance the SNR. In addition, from medical perspective, the dysplasia will induce changes in the concentration of other fluorophore species as well, which can exhibit correlation with FAD concentration changes, and it can be utilized to boost up the signal strength as well. Finally, the software package can be integrated with the course-related ISET simulation package to incorporate the actual sensor behavior, being even closer to a practical experiment scenario.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
1. Y. Xu et al. Optical Imaging in the Diagnosis of OPMDs Malignant Transformation, Journal of Dental Research 2022, Vol. 101(7) 749–758&lt;br /&gt;
&lt;br /&gt;
2. MCmatlab package and documentation: https://github.com/ankrh/MCmatlab&lt;br /&gt;
&lt;br /&gt;
3. Steven L Jacques Optical properties of biological tissues: a review, 2013 Phys. Med. Biol. 58 R37&lt;/div&gt;</summary>
		<author><name>Bohan</name></author>
	</entry>
	<entry>
		<id>http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=34086</id>
		<title>Medical imaging: Simulations of reflectance and fluorescence of human tissue</title>
		<link rel="alternate" type="text/html" href="http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=34086"/>
		<updated>2023-12-18T19:38:09Z</updated>

		<summary type="html">&lt;p&gt;Bohan: /* Conclusions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
Squamous dysplasia, a precursor to squamous cell carcinoma, represents a spectrum of histological alterations within the epithelium, characterized by abnormal cellular morphology and metabolism. Early identification is critical to prevent the progression to invasive carcinoma. Auto fluorescent imaging (AFI) has emerged as a promising non-invasive technique for the detection of squamous dysplasia. Flavin adenine dinucleotide (FAD), an essential co-factor in cellular oxidative metabolism, undergoes changes in concentration and redox state during dysplastic transformations. Studies indicate a correlation between dysplastic progression and altered FAD levels, leading to variations in tissue fluorescence&amp;lt;math&amp;gt;^1&amp;lt;/math&amp;gt;. Lower FAD concentrations in dysplastic areas manifest as decreased fluorescence intensity level, which in principle can be imaged with AFI.&lt;br /&gt;
&lt;br /&gt;
AFI uses the intrinsic fluorescent properties of endogenous molecules within tissues. Under appropriate excitation wavelengths, endogenous fluorophores emit light, providing real-time visualization of tissue morphology. The altered metabolic activity and subsequent changes in FAD concentrations in dysplastic tissues offer a distinct fluorescence pattern that is in principle discernible through AFI.&lt;br /&gt;
&lt;br /&gt;
In clinical settings, AFI demonstrates promise as a non-invasive tool for identifying early dysplastic lesions. Its ability to highlight subtle changes in tissue autofluorescence can aid in targeted biopsies and delineation of margins during surgical interventions. In this project, we explore imaging of dysplastic tissues by using optical Monte Carlo based fluorescence simulations. We identify qualitative trends of image quality with respect to dysplastic lesion size, depth, and fluorophore concentration change. Understanding how photons interact with fluorophores, the probability of excitation, and the emitted fluorescence intensity can assist in predicting and interpreting experimental fluorescence measurements.&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
[[File:optical.png|300px|right| thumb | The optical processes in skin tissue, including reflection, scattering, absorption, and fluorescence. ]]&lt;br /&gt;
&lt;br /&gt;
=== Optical Processes in Skin Tissue ===&lt;br /&gt;
&lt;br /&gt;
When shining light into the skin, there are multiple light-matter interaction processes happening simultaneously, including reflection, absorption, scattering, and fluorescence as depicted in the figure below. &lt;br /&gt;
&lt;br /&gt;
The key process in this study is fluorescence. When short wavelength photon is absorbed, the material will re-emit photon at a longer wavelength and smaller energy. In the epidermis layer of the skin tissue, there are two fluorescence molecules, FAD and NADH, which are related to metabolic activities of cells. By measuring the fluorescence activities, one can monitor the localized concentration of FAD and NADH in the epidermis layer, therefore acquiring early signs on potnetial dysplasia. To model the fluorescence activities in the epidermis layer, the fluorophore is assumed to be uniformly distributed in the epidermis layer as a solution while the dysplastic region can be regarded as some localized volume with a different concentration comparing to the surrounding medium. &lt;br /&gt;
&lt;br /&gt;
Reflection refers to the back-scatter of photon at the interface between different materials when the index of refraction changes. Since the main composition of human skin is water, the variation of index of refraction is minor therefore there is negligible amount of reflection inside human skin. The strongest reflection happens at the surface of skin where photon hits the skin tissue from air. This can result in a spectral reduction of the number of photons actually entering into the skin, which results in a reduction in the actual fluorescence signal strength. &lt;br /&gt;
&lt;br /&gt;
Absorption is an intrinsic property of light-matter interaction where the amplitude of electromagnetic field attenuates as propagating. The absorption in a solution can be quatitatively described using the Beer-Lambert law, where the intensity of light decay exponentially as it travels in the absorptive medium. The decay rate is characterized by the absorption coefficient &amp;lt;math&amp;gt; \mu_\alpha &amp;lt;/math&amp;gt; which is a function of the solvend absorpsivity and its concentration. In human skin tissue, the total amount of absorption can be decomposed into several different components, including absorption from water, fat, melanin, and blood content, which can be cast by an empirical equation [REF]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; mu_{\alpha} =BS\mu_{\alpha,oxy} + B (1-S) \mu_{\alpha,deoxy} + W\mu_{\alpha,water} + F\mu_{\alpha,fat} + M\mu_{\alpha,melanosome} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The scattering process refers to the change in the direction of motion when the photon interacts with the material (mainly the nuclei). In the actual scenario of fluorescence detection, the scattering process can result in two consequences including the attenuation of number of photons in the forward propagating direction, and introducing distortion to the localized signal. The second consequence is the critical factor of reducing the signal to noise ratio, as the localized signal from the dysplasia is smeared by the uncertain scattering processes.&lt;br /&gt;
&lt;br /&gt;
=== Simulation Congifuration ===&lt;br /&gt;
&lt;br /&gt;
[[File:simulation.png|1000px|center| thumb | The schematic of the simulation. The fluorophore is excited by 425 nm light while maximally emitting at 530 nm. On the right side the fluorescence spectrum is presented, which supports the choices on excitation and detection wavelengthes since it maximizes the fluorescence from FAD and suppresses fluorescence from NADH. ]]&lt;br /&gt;
&lt;br /&gt;
To model the optical behavior, one can extract the physical system into an emission and propagation problem as shown in the figure above. The dysplasia is characterized by a confined region inside the epidermis layer with a reduced FAD concentration. Due to the concentration change the fluorescence emission pattern will change correspondingly, which will result in a difference in signal collected by the external photodetector. The wavelengthes of pump beam and detection are carefully chosen. The pump light wavelength in our simulation is set to 425 nm to maximize FAD absorption while suppress NADH excitation. The detection wavelength is set to 530 nm for the maximum FAD fluorescence signal and reduced signal from other fluorophores as well. The final signal collected can also include the contribution from the collagen mainly in the bottom dermis layer, which can be treated as noise.&lt;br /&gt;
&lt;br /&gt;
== Methods ==&lt;br /&gt;
&lt;br /&gt;
=== Monte Carlo Simulation ===&lt;br /&gt;
&lt;br /&gt;
Monte Carlo simulations is a useful tool for modeling and understanding the intricate behaviors of light propagation through tissues. These simulations rely on probabilistic algorithms that simulate numerous random trajectories of photons within a medium, enabling the prediction and analysis of light transport in complex systems. These trajectories are based on scattering events and the optical properties of the medium. As photons travel, they undergo interactions, either scattering off structures within the tissue or getting absorbed. The simulations track the path lengths and angles of these photons, ultimately predicting the reflectance and absorption profiles. &lt;br /&gt;
&lt;br /&gt;
To simulate fluorescence, an initial simulation models the absorption of incident photons by fluorescent molecules like FAD or other fluorophores. The resulting absorption profile is then used as a source for fluorescent light of a different wavelength and the Monte Carlo algorithm is applied again.&lt;br /&gt;
&lt;br /&gt;
=== MCMatlab ===&lt;br /&gt;
&lt;br /&gt;
We decided to use MCmatlab based on a class project from last year, where it was implemented to simulate diffuse reflectance of different oxygenation levels for various skin types. &lt;br /&gt;
&lt;br /&gt;
In MCMatlab a medium is defined by specifying a set of parameters&amp;lt;math&amp;gt;^2&amp;lt;/math&amp;gt;. The relevant parameters in our simulation are: Absorption coefficient ‘&amp;lt;math&amp;gt;\mu_a&amp;lt;/math&amp;gt;’, Scattering coefficient ‘&amp;lt;math&amp;gt;\mu_s&amp;lt;/math&amp;gt;’, Emission spectrum ‘&amp;lt;math&amp;gt;\epsilon_{\lambda}&amp;lt;/math&amp;gt;’, Quantum yield &#039;QY&#039;, Henyey-Greenstein Scattering anisotropy factor ‘g’ and Refractive Index ‘n’. &lt;br /&gt;
&lt;br /&gt;
All quantities are a function of wavelength. The absorption coefficient is given in units of cm&amp;lt;math&amp;gt;^{-1}&amp;lt;/math&amp;gt;. The scattering coefficient is expressed as the fraction of photons getting scattered while traveling in a medium per unit distance. The emission spectrum describes the relative spectral power emitted for each wavelength. The quantum yield is defined as the number of photons emitted per absorbed photons. Henyey-Greenstein Scattering anisotropy factor has a value between 0 and 1 and  quantifies the degree of angular distribution in the scattering of photons within a medium. More concretely, g = 0 signifies purely isotropic scattering, indicating an equal probability of scattering in all directions while g = 1 represents completely forward-peaked scattering, indicating a strong preference for photons to be scattered in the forward direction. See referenced documentation for full details about all parameters. &lt;br /&gt;
&lt;br /&gt;
Relevant parameters for surrounding tissue of varying levels of blood, blood oxygenation, water and fat were extracted from Jacques&#039; work&amp;lt;math&amp;gt;^3&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Equivalent Model of Fluorophore Solution ===&lt;br /&gt;
When considering the optical response of the epidermis layer for blue light, absorption occurs both directly in FAD as well as in the rest of the tissue. In MCmatlab, a material can only be defined by a single absorption coefficient and emissivity spectrum. This presents a problem since absorption from surrounding tissue artificially contribute to FAD fluorescence in the model. Unfortunately,  this yields an unacceptable degree of inaccuracy as the overall absorption by the tissue is large compared to the absorption in FAD, due to its low concentration. In other words, the majority of the fluorescence would come from absorption in tissue which normally does not fluoresce. This also makes it hard to model subtle changes in FAD levels due to the strong artificial fluorescence background.&lt;br /&gt;
&lt;br /&gt;
[[File:model.png|500px|thumb|center|The multilayer model for fluorescence Monte Carlo simulation. ]]&lt;br /&gt;
&lt;br /&gt;
To solve this issue, we introduce a multilayer model where FAD molecules distributed in a volume is collected into thin planes spread across the volume (see Figure 1). By separating FAD from the rest of the tissue components, we can define two separate media in MCmatlab with their respective optical properties, avoiding the issue of artificial fluorescence. However, changing the geometry in this way will also affect the optical response. Below, we derive an expression to correct for the geometrical change. &lt;br /&gt;
&lt;br /&gt;
The total optical absorption can be described as:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \propto \int dV (-J)\cdot E = \int dV (-i\omega\varepsilon_0 \chi |E|^2) = \int dV \omega\varepsilon_0 \chi&#039;&#039; |E|^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;J&amp;lt;/math&amp;gt; is the current density, &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; is the electric field, &amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; is the angular frequency of light, &amp;lt;math&amp;gt; \varepsilon_0&amp;lt;/math&amp;gt;  is the free space electric permittivity, &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  is the material susceptibility, and &amp;lt;math&amp;gt;\chi&#039;&#039;&amp;lt;/math&amp;gt; is the imaginary part of &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  representing the optical absorption of a certain material. Under the representation of Beer-Lambert law, the electric field penetrating in the skin can be described as an exponential decay: &amp;lt;math&amp;gt; E = E_0 \exp(-\mu_\alpha z) &amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; is the material absorpsivity in the unit of [cm]&amp;lt;math&amp;gt;^{-1}&amp;lt;/math&amp;gt;. Substituting the exponentially decaying electric field into the absorption expression and applying our one-dimensional multilayer geometry: &lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \cong C \int_{0}^{L_z} dz \exp(-2\mu_\alpha z) = C\frac{1-\exp(-2\mu_\alpha L_z)}{2\mu_\alpha} &amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;L_z&amp;lt;/math&amp;gt; is the total length in z direction. &lt;br /&gt;
&lt;br /&gt;
For convenience, one can also define the ratiometric absorbance: &amp;lt;math&amp;gt; A = -\log(\frac{I_d}{I_0}) = \mu_\alpha L_z &amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
To have the same amount of absorption in the fluorophore when using the multilayer model, we need to equivalently adjust the optical property &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; of the material to balance the effect of shrinking the volume occupied by the fluorophore. Gathering the fluorophore into a thin slab of thickness &amp;lt;math&amp;gt;\Delta{z} &amp;lt;/math&amp;gt;, the absorbance here is: &amp;lt;math&amp;gt; A= \mu_\alpha&#039; \Delta{z}&amp;lt;/math&amp;gt;. Therefore one can increase the absorption coefficient to compensate for the reduced volume. This hold true as long as the field variation across the sub-volume is linear. When &amp;lt;math&amp;gt;\mu_\alpha L_z\ll1&amp;lt;/math&amp;gt;, the field decay is approximately linear for a small change in z: &amp;lt;math&amp;gt;\exp(-\mu_\alpha&#039;z) \approx 1-\mu_\alpha&#039;z &amp;lt;/math&amp;gt; for small z. Thus, we can always compensate the change in geometry by choosing a sufficiently small spacing between the thin planes relative to the absorptivity of the material.&lt;br /&gt;
&lt;br /&gt;
Using the equivalent absorpsivity correction, the total absorption is the same. In addition, the blue photon absorbed by FAD will result in the fluorescence emission, such that the correct FAD fluorescence activity can be simulated.&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
&lt;br /&gt;
The properties of the dysplastic region directly determines the fluorescence signal. Here, the properties refer to the geometry size, shape, the fluorophore concentration, and the location inside the skin tissue. Below, we will carry out a few computational and numerical experiments to qualitatively describe the dependence between the fluorescence signal strength and these factors. The simulation is conducted based on MCMatlab Fluorescence Monte Carlo simulation package. &lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Width ===&lt;br /&gt;
[[File:results1_updated.png|900px|thumb|center| (a) Schematic of the geometry, which is defined as a one-dimensional variation in FAD concentration with a low concentration at the central part representing the dysplastic region. (b) The actual fluorescence signal measured as a function of x position. The contrast signal is extracted as the ratio between the magnitude of the dip and the maximum signal level. (c) The dependence betweewn the width of the dysplastic region and the fluorescence contrast signal. (d) The measured fluorescence signal for each width value with an increasing width from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
For the first study, the simulated geometry is defined as a one-dimensional concentration variation in &amp;quot;x&amp;quot; as shown in the figure above with a lower FAD concentration at the central region representing the dysplastic region. The width of the dysplastic region is swept and the output fluorescence contrast signal is measured. It is shown that the contrast signal first goes up, then saturates at w~0.35 mm. At small width values, the signals are mixed up from the two edges where the concentration changes sharply, so that one cannot resolve the full contrast signal. When the two edges are separated sufficiently far, the full signal can be resolved, giving a relative fluorescence contrast as 0.3.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Depth ===&lt;br /&gt;
Next, the qualitative relation is studied between the depth of the dysplastic region inside the skin and the fluorescence contrast signal. In this case, the geometry is defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm and the thickness to 0.1 mm. The depth is set as the swept parameter, and it is defined as the distance between the top surface of the epidermis layer and the top surface of the rectangular wire. &lt;br /&gt;
&lt;br /&gt;
[[File:results2_updated.png|600px|thumb|center| (a) Schematic of the geometry, where the FAD concentration inside the rectangular rod is lower, representing the dysplastic region. The depth of the rectangular wire is swept. (b) The dependence betweewn the depth of the dysplastic region and the fluorescence contrast signal. The red dashed line illustrates an exponential fitting of the simulation results. (c) The measured fluorescence signal for each depth value with an increasing depth from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that the fluorescence contrast signal decreases as the depth increases, which agrees with intuition. As for a deeper location inside the skin, it takes farther distance for the fluorescent light to travel out, therefore the distortion introduced by the scattering events as the light propagates through the skin tissue is stronger. In addition, the attenuation from both scattering and absorption is stronger as well, which further reduces the SNR. For depth greater than 0.1 mm, the contrast signal strength is nearly vanishing.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the FAD Concentration Difference ===&lt;br /&gt;
Similarly, the strength of the contrast signal should also be a function of the concentration difference of FAD between the dysplastic and the healthy tissue. The geometry is again defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm, the thickness to 0.1 mm, and the depth is set to 0.04 mm. The volumetric concentration of FAD in the healthy region is fixed to 0.2 while the FAD concentration in the dysplastic region is varied from 0 to 0.2. &lt;br /&gt;
&lt;br /&gt;
[[File:results32_updated.png|900px|thumb|center| (a,c) Schematic of the geometry, (a) has a shallower dysplastic region while it is deeper in (c). The FAD concentration inside the rectangular rod is swept. (b,d) The dependence betweewn the concentration difference and the fluorescence contrast signal. (c) The measured fluorescence signal for each concentration value with a decreasing concentration contrast from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that for 0.04 mm as the depth, the fluorescence contrast signal is linearly proportional to the FAD concentration difference, which again agrees with intuition. The concentration difference determines the distribution in the number of fluorescence emitter, which is equivalent to the source and directly proportional to the fluorescence intensity. When increasing the depth of the rectangular wire to 0.1 mm, again the linear dependence is shown however with an overall lower amplitude, representing the decrease in the number of fluorescence emitter.&lt;br /&gt;
&lt;br /&gt;
=== Image Quality and Simulation Limitations  ===&lt;br /&gt;
Optical Monte Carlo simulations, while powerful and versatile, are computationally demanding due to the nature of light propagation and the need to model a vast number of photon trajectories. The computational expense arises from the necessity to track individual photon interactions and their probabilistic behavior as they scatter, absorb, and move through the medium.  Modeling three-dimensional environments adds complexity, as simulations must account for photon movements in all spatial directions within the medium. To illustrate this, a regular high performance laptop were able to simulate about 10&amp;lt;math&amp;gt;^6&amp;lt;/math&amp;gt; photons per minute, while a 1mW light source at 400 nm emits 10&amp;lt;math&amp;gt;^{15}&amp;lt;/math&amp;gt; photons per second. This can be a problem when trying to model realistic scenarios with low signal to noise. Figure 5 shows a set of images of an embedded dysplastic lesion in healthy tissue, with varying number of simulated photons. The images corresponds to a total simulation time of 4, 40 and 400 minutes, respectively (half to acquire the absorption profile and half for the fluorescence signal).&lt;br /&gt;
&lt;br /&gt;
[[File:imagesAndSchematic.png|900px|thumb|center| a) Schematic of simulation. A 425nm LED is used as an excitation source and fluorescence is collected at 530nm. b) Image quality as a function of simulation number of photons simulated. Top) Collected images of an embedded dysplastic lesion inside healthy tissue. Bottom) Cross section of the image intensity.  ]]&lt;br /&gt;
&lt;br /&gt;
== Conclusions and Outlook ==&lt;br /&gt;
In this project, we explored the usage of the Monte Carlo simulation in fluorescence detection. In particular,&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
1. Y. Xu et al. Optical Imaging in the Diagnosis of OPMDs Malignant Transformation, Journal of Dental Research 2022, Vol. 101(7) 749–758&lt;br /&gt;
&lt;br /&gt;
2. MCmatlab package and documentation: https://github.com/ankrh/MCmatlab&lt;br /&gt;
&lt;br /&gt;
3. Steven L Jacques Optical properties of biological tissues: a review, 2013 Phys. Med. Biol. 58 R37&lt;/div&gt;</summary>
		<author><name>Bohan</name></author>
	</entry>
	<entry>
		<id>http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=34077</id>
		<title>Medical imaging: Simulations of reflectance and fluorescence of human tissue</title>
		<link rel="alternate" type="text/html" href="http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=34077"/>
		<updated>2023-12-18T19:12:16Z</updated>

		<summary type="html">&lt;p&gt;Bohan: /* Simulation Congifuration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
Squamous dysplasia, a precursor to squamous cell carcinoma, represents a spectrum of histological alterations within the epithelium, characterized by abnormal cellular morphology and metabolism. Early identification is critical to prevent the progression to invasive carcinoma. Auto fluorescent imaging (AFI) has emerged as a promising non-invasive technique for the detection of squamous dysplasia. Flavin adenine dinucleotide (FAD), an essential co-factor in cellular oxidative metabolism, undergoes changes in concentration and redox state during dysplastic transformations. Studies indicate a correlation between dysplastic progression and altered FAD levels, leading to variations in tissue fluorescence&amp;lt;math&amp;gt;^1&amp;lt;/math&amp;gt;. Lower FAD concentrations in dysplastic areas manifest as decreased fluorescence intensity level, which in principle can be imaged with AFI.&lt;br /&gt;
&lt;br /&gt;
AFI uses the intrinsic fluorescent properties of endogenous molecules within tissues. Under appropriate excitation wavelengths, endogenous fluorophores emit light, providing real-time visualization of tissue morphology. The altered metabolic activity and subsequent changes in FAD concentrations in dysplastic tissues offer a distinct fluorescence pattern that is in principle discernible through AFI.&lt;br /&gt;
&lt;br /&gt;
In clinical settings, AFI demonstrates promise as a non-invasive tool for identifying early dysplastic lesions. Its ability to highlight subtle changes in tissue autofluorescence can aid in targeted biopsies and delineation of margins during surgical interventions. In this project, we explore imaging of dysplastic tissues by using optical Monte Carlo based fluorescence simulations. We identify qualitative trends of image quality with respect to dysplastic lesion size, depth, and fluorophore concentration change. Understanding how photons interact with fluorophores, the probability of excitation, and the emitted fluorescence intensity can assist in predicting and interpreting experimental fluorescence measurements.&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
[[File:optical.png|300px|right| thumb | The optical processes in skin tissue, including reflection, scattering, absorption, and fluorescence. ]]&lt;br /&gt;
&lt;br /&gt;
=== Optical Processes in Skin Tissue ===&lt;br /&gt;
&lt;br /&gt;
When shining light into the skin, there are multiple light-matter interaction processes happening simultaneously, including reflection, absorption, scattering, and fluorescence as depicted in the figure below. &lt;br /&gt;
&lt;br /&gt;
The key process in this study is fluorescence. When short wavelength photon is absorbed, the material will re-emit photon at a longer wavelength and smaller energy. In the epidermis layer of the skin tissue, there are two fluorescence molecules, FAD and NADH, which are related to metabolic activities of cells. By measuring the fluorescence activities, one can monitor the localized concentration of FAD and NADH in the epidermis layer, therefore acquiring early signs on potnetial dysplasia. To model the fluorescence activities in the epidermis layer, the fluorophore is assumed to be uniformly distributed in the epidermis layer as a solution while the dysplastic region can be regarded as some localized volume with a different concentration comparing to the surrounding medium. &lt;br /&gt;
&lt;br /&gt;
Reflection refers to the back-scatter of photon at the interface between different materials when the index of refraction changes. Since the main composition of human skin is water, the variation of index of refraction is minor therefore there is negligible amount of reflection inside human skin. The strongest reflection happens at the surface of skin where photon hits the skin tissue from air. This can result in a spectral reduction of the number of photons actually entering into the skin, which results in a reduction in the actual fluorescence signal strength. &lt;br /&gt;
&lt;br /&gt;
Absorption is an intrinsic property of light-matter interaction where the amplitude of electromagnetic field attenuates as propagating. The absorption in a solution can be quatitatively described using the Beer-Lambert law, where the intensity of light decay exponentially as it travels in the absorptive medium. The decay rate is characterized by the absorption coefficient &amp;lt;math&amp;gt; \mu_\alpha &amp;lt;/math&amp;gt; which is a function of the solvend absorpsivity and its concentration. In human skin tissue, the total amount of absorption can be decomposed into several different components, including absorption from water, fat, melanin, and blood content, which can be cast by an empirical equation [REF]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; mu_{\alpha} =BS\mu_{\alpha,oxy} + B (1-S) \mu_{\alpha,deoxy} + W\mu_{\alpha,water} + F\mu_{\alpha,fat} + M\mu_{\alpha,melanosome} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The scattering process refers to the change in the direction of motion when the photon interacts with the material (mainly the nuclei). In the actual scenario of fluorescence detection, the scattering process can result in two consequences including the attenuation of number of photons in the forward propagating direction, and introducing distortion to the localized signal. The second consequence is the critical factor of reducing the signal to noise ratio, as the localized signal from the dysplasia is smeared by the uncertain scattering processes.&lt;br /&gt;
&lt;br /&gt;
=== Simulation Congifuration ===&lt;br /&gt;
&lt;br /&gt;
[[File:simulation.png|1000px|center| thumb | The schematic of the simulation. The fluorophore is excited by 425 nm light while maximally emitting at 530 nm. On the right side the fluorescence spectrum is presented, which supports the choices on excitation and detection wavelengthes since it maximizes the fluorescence from FAD and suppresses fluorescence from NADH. ]]&lt;br /&gt;
&lt;br /&gt;
To model the optical behavior, one can extract the physical system into an emission and propagation problem as shown in the figure above. The dysplasia is characterized by a confined region inside the epidermis layer with a reduced FAD concentration. Due to the concentration change the fluorescence emission pattern will change correspondingly, which will result in a difference in signal collected by the external photodetector. The wavelengthes of pump beam and detection are carefully chosen. The pump light wavelength in our simulation is set to 425 nm to maximize FAD absorption while suppress NADH excitation. The detection wavelength is set to 530 nm for the maximum FAD fluorescence signal and reduced signal from other fluorophores as well. The final signal collected can also include the contribution from the collagen mainly in the bottom dermis layer, which can be treated as noise.&lt;br /&gt;
&lt;br /&gt;
== Methods ==&lt;br /&gt;
&lt;br /&gt;
=== Monte Carlo Simulation ===&lt;br /&gt;
&lt;br /&gt;
Monte Carlo simulations is a useful tool for modeling and understanding the intricate behaviors of light propagation through tissues. These simulations rely on probabilistic algorithms that simulate numerous random trajectories of photons within a medium, enabling the prediction and analysis of light transport in complex systems. These trajectories are based on scattering events and the optical properties of the medium. As photons travel, they undergo interactions, either scattering off structures within the tissue or getting absorbed. The simulations track the path lengths and angles of these photons, ultimately predicting the reflectance and absorption profiles. &lt;br /&gt;
&lt;br /&gt;
To simulate fluorescence, an initial simulation models the absorption of incident photons by fluorescent molecules like FAD or other fluorophores. The resulting absorption profile is then used as a source for fluorescent light of a different wavelength and the Monte Carlo algorithm is applied again.&lt;br /&gt;
&lt;br /&gt;
=== MCMatlab ===&lt;br /&gt;
&lt;br /&gt;
We decided to use MCmatlab based on a class project from last year, where it was implemented to simulate diffuse reflectance of different oxygenation levels for various skin types. &lt;br /&gt;
&lt;br /&gt;
In MCMatlab a medium is defined by specifying a set of parameters&amp;lt;math&amp;gt;^2&amp;lt;/math&amp;gt;. The relevant parameters in our simulation are: Absorption coefficient ‘&amp;lt;math&amp;gt;\mu_a&amp;lt;/math&amp;gt;’, Scattering coefficient ‘&amp;lt;math&amp;gt;\mu_s&amp;lt;/math&amp;gt;’, Emission spectrum ‘&amp;lt;math&amp;gt;\epsilon_{\lambda}&amp;lt;/math&amp;gt;’, Quantum yield &#039;QY&#039;, Henyey-Greenstein Scattering anisotropy factor ‘g’ and Refractive Index ‘n’. &lt;br /&gt;
&lt;br /&gt;
All quantities are a function of wavelength. The absorption coefficient is given in units of cm&amp;lt;math&amp;gt;^{-1}&amp;lt;/math&amp;gt;. The scattering coefficient is expressed as the fraction of photons getting scattered while traveling in a medium per unit distance. The emission spectrum describes the relative spectral power emitted for each wavelength. The quantum yield is defined as the number of photons emitted per absorbed photons. Henyey-Greenstein Scattering anisotropy factor has a value between 0 and 1 and  quantifies the degree of angular distribution in the scattering of photons within a medium. More concretely, g = 0 signifies purely isotropic scattering, indicating an equal probability of scattering in all directions while g = 1 represents completely forward-peaked scattering, indicating a strong preference for photons to be scattered in the forward direction. See referenced documentation for full details about all parameters. &lt;br /&gt;
&lt;br /&gt;
Relevant parameters for surrounding tissue of varying levels of blood, blood oxygenation, water and fat were extracted from Jacques&#039; work&amp;lt;math&amp;gt;^3&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Equivalent Model of Fluorophore Solution ===&lt;br /&gt;
When considering the optical response of the epidermis layer for blue light, absorption occurs both directly in FAD as well as in the rest of the tissue. In MCmatlab, a material can only be defined by a single absorption coefficient and emissivity spectrum. This presents a problem since absorption from surrounding tissue artificially contribute to FAD fluorescence in the model. Unfortunately,  this yields an unacceptable degree of inaccuracy as the overall absorption by the tissue is large compared to the absorption in FAD, due to its low concentration. In other words, the majority of the fluorescence would come from absorption in tissue which normally does not fluoresce. This also makes it hard to model subtle changes in FAD levels due to the strong artificial fluorescence background.&lt;br /&gt;
&lt;br /&gt;
[[File:model.png|500px|thumb|center|The multilayer model for fluorescence Monte Carlo simulation. ]]&lt;br /&gt;
&lt;br /&gt;
To solve this issue, we introduce a multilayer model where FAD molecules distributed in a volume is collected into thin planes spread across the volume (see Figure 1). By separating FAD from the rest of the tissue components, we can define two separate media in MCmatlab with their respective optical properties, avoiding the issue of artificial fluorescence. However, changing the geometry in this way will also affect the optical response. Below, we derive an expression to correct for the geometrical change. &lt;br /&gt;
&lt;br /&gt;
The total optical absorption can be described as:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \propto \int dV (-J)\cdot E = \int dV (-i\omega\varepsilon_0 \chi |E|^2) = \int dV \omega\varepsilon_0 \chi&#039;&#039; |E|^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;J&amp;lt;/math&amp;gt; is the current density, &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; is the electric field, &amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; is the angular frequency of light, &amp;lt;math&amp;gt; \varepsilon_0&amp;lt;/math&amp;gt;  is the free space electric permittivity, &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  is the material susceptibility, and &amp;lt;math&amp;gt;\chi&#039;&#039;&amp;lt;/math&amp;gt; is the imaginary part of &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  representing the optical absorption of a certain material. Under the representation of Beer-Lambert law, the electric field penetrating in the skin can be described as an exponential decay: &amp;lt;math&amp;gt; E = E_0 \exp(-\mu_\alpha z) &amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; is the material absorpsivity in the unit of [cm]&amp;lt;math&amp;gt;^{-1}&amp;lt;/math&amp;gt;. Substituting the exponentially decaying electric field into the absorption expression and applying our one-dimensional multilayer geometry: &lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \cong C \int_{0}^{L_z} dz \exp(-2\mu_\alpha z) = C\frac{1-\exp(-2\mu_\alpha L_z)}{2\mu_\alpha} &amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;L_z&amp;lt;/math&amp;gt; is the total length in z direction. &lt;br /&gt;
&lt;br /&gt;
For convenience, one can also define the ratiometric absorbance: &amp;lt;math&amp;gt; A = -\log(\frac{I_d}{I_0}) = \mu_\alpha L_z &amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
To have the same amount of absorption in the fluorophore when using the multilayer model, we need to equivalently adjust the optical property &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; of the material to balance the effect of shrinking the volume occupied by the fluorophore. Gathering the fluorophore into a thin slab of thickness &amp;lt;math&amp;gt;\Delta{z} &amp;lt;/math&amp;gt;, the absorbance here is: &amp;lt;math&amp;gt; A= \mu_\alpha&#039; \Delta{z}&amp;lt;/math&amp;gt;. Therefore one can increase the absorption coefficient to compensate for the reduced volume. This hold true as long as the field variation across the sub-volume is linear. When &amp;lt;math&amp;gt;\mu_\alpha L_z\ll1&amp;lt;/math&amp;gt;, the field decay is approximately linear for a small change in z: &amp;lt;math&amp;gt;\exp(-\mu_\alpha&#039;z) \approx 1-\mu_\alpha&#039;z &amp;lt;/math&amp;gt; for small z. Thus, we can always compensate the change in geometry by choosing a sufficiently small spacing between the thin planes relative to the absorptivity of the material.&lt;br /&gt;
&lt;br /&gt;
Using the equivalent absorpsivity correction, the total absorption is the same. In addition, the blue photon absorbed by FAD will result in the fluorescence emission, such that the correct FAD fluorescence activity can be simulated.&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
&lt;br /&gt;
The properties of the dysplastic region directly determines the fluorescence signal. Here, the properties refer to the geometry size, shape, the fluorophore concentration, and the location inside the skin tissue. Below, we will carry out a few computational and numerical experiments to qualitatively describe the dependence between the fluorescence signal strength and these factors. The simulation is conducted based on MCMatlab Fluorescence Monte Carlo simulation package. &lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Width ===&lt;br /&gt;
[[File:results1_updated.png|900px|thumb|center| (a) Schematic of the geometry, which is defined as a one-dimensional variation in FAD concentration with a low concentration at the central part representing the dysplastic region. (b) The actual fluorescence signal measured as a function of x position. The contrast signal is extracted as the ratio between the magnitude of the dip and the maximum signal level. (c) The dependence betweewn the width of the dysplastic region and the fluorescence contrast signal. (d) The measured fluorescence signal for each width value with an increasing width from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
For the first study, the simulated geometry is defined as a one-dimensional concentration variation in &amp;quot;x&amp;quot; as shown in the figure above with a lower FAD concentration at the central region representing the dysplastic region. The width of the dysplastic region is swept and the output fluorescence contrast signal is measured. It is shown that the contrast signal first goes up, then saturates at w~0.35 mm. At small width values, the signals are mixed up from the two edges where the concentration changes sharply, so that one cannot resolve the full contrast signal. When the two edges are separated sufficiently far, the full signal can be resolved, giving a relative fluorescence contrast as 0.3.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Depth ===&lt;br /&gt;
Next, the qualitative relation is studied between the depth of the dysplastic region inside the skin and the fluorescence contrast signal. In this case, the geometry is defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm and the thickness to 0.1 mm. The depth is set as the swept parameter, and it is defined as the distance between the top surface of the epidermis layer and the top surface of the rectangular wire. &lt;br /&gt;
&lt;br /&gt;
[[File:results2_updated.png|600px|thumb|center| (a) Schematic of the geometry, where the FAD concentration inside the rectangular rod is lower, representing the dysplastic region. The depth of the rectangular wire is swept. (b) The dependence betweewn the depth of the dysplastic region and the fluorescence contrast signal. The red dashed line illustrates an exponential fitting of the simulation results. (c) The measured fluorescence signal for each depth value with an increasing depth from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that the fluorescence contrast signal decreases as the depth increases, which agrees with intuition. As for a deeper location inside the skin, it takes farther distance for the fluorescent light to travel out, therefore the distortion introduced by the scattering events as the light propagates through the skin tissue is stronger. In addition, the attenuation from both scattering and absorption is stronger as well, which further reduces the SNR. For depth greater than 0.1 mm, the contrast signal strength is nearly vanishing.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the FAD Concentration Difference ===&lt;br /&gt;
Similarly, the strength of the contrast signal should also be a function of the concentration difference of FAD between the dysplastic and the healthy tissue. The geometry is again defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm, the thickness to 0.1 mm, and the depth is set to 0.04 mm. The volumetric concentration of FAD in the healthy region is fixed to 0.2 while the FAD concentration in the dysplastic region is varied from 0 to 0.2. &lt;br /&gt;
&lt;br /&gt;
[[File:results32_updated.png|900px|thumb|center| (a,c) Schematic of the geometry, (a) has a shallower dysplastic region while it is deeper in (c). The FAD concentration inside the rectangular rod is swept. (b,d) The dependence betweewn the concentration difference and the fluorescence contrast signal. (c) The measured fluorescence signal for each concentration value with a decreasing concentration contrast from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that for 0.04 mm as the depth, the fluorescence contrast signal is linearly proportional to the FAD concentration difference, which again agrees with intuition. The concentration difference determines the distribution in the number of fluorescence emitter, which is equivalent to the source and directly proportional to the fluorescence intensity. When increasing the depth of the rectangular wire to 0.1 mm, again the linear dependence is shown however with an overall lower amplitude, representing the decrease in the number of fluorescence emitter.&lt;br /&gt;
&lt;br /&gt;
=== Image Quality and Simulation Limitations  ===&lt;br /&gt;
Optical Monte Carlo simulations, while powerful and versatile, are computationally demanding due to the nature of light propagation and the need to model a vast number of photon trajectories. The computational expense arises from the necessity to track individual photon interactions and their probabilistic behavior as they scatter, absorb, and move through the medium.  Modeling three-dimensional environments adds complexity, as simulations must account for photon movements in all spatial directions within the medium. To illustrate this, a regular high performance laptop were able to simulate about 10&amp;lt;math&amp;gt;^6&amp;lt;/math&amp;gt; photons per minute, while a 1mW light source at 400 nm emits 10&amp;lt;math&amp;gt;^{15}&amp;lt;/math&amp;gt; photons per second. This can be a problem when trying to model realistic scenarios with low signal to noise. Figure 5 shows a set of images of an embedded dysplastic lesion in healthy tissue, with varying number of simulated photons. The images corresponds to a total simulation time of 4, 40 and 400 minutes, respectively (half to acquire the absorption profile and half for the fluorescence signal).&lt;br /&gt;
&lt;br /&gt;
[[File:imagesAndSchematic.png|900px|thumb|center| a) Schematic of simulation. A 425nm LED is used as an excitation source and fluorescence is collected at 530nm. b) Image quality as a function of simulation number of photons simulated. Top) Collected images of an embedded dysplastic lesion inside healthy tissue. Bottom) Cross section of the image intensity.  ]]&lt;br /&gt;
&lt;br /&gt;
== Conclusions ==&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
1. Y. Xu et al. Optical Imaging in the Diagnosis of OPMDs Malignant Transformation, Journal of Dental Research 2022, Vol. 101(7) 749–758&lt;br /&gt;
&lt;br /&gt;
2. MCmatlab package and documentation: https://github.com/ankrh/MCmatlab&lt;br /&gt;
&lt;br /&gt;
3. Steven L Jacques Optical properties of biological tissues: a review, 2013 Phys. Med. Biol. 58 R37&lt;/div&gt;</summary>
		<author><name>Bohan</name></author>
	</entry>
	<entry>
		<id>http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=34064</id>
		<title>Medical imaging: Simulations of reflectance and fluorescence of human tissue</title>
		<link rel="alternate" type="text/html" href="http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=34064"/>
		<updated>2023-12-18T18:54:07Z</updated>

		<summary type="html">&lt;p&gt;Bohan: /* Simulation Congifuration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
Squamous dysplasia, a precursor to squamous cell carcinoma, represents a spectrum of histological alterations within the epithelium, characterized by abnormal cellular morphology and metabolism. Early identification is critical to prevent the progression to invasive carcinoma. Auto fluorescent imaging (AFI) has emerged as a promising non-invasive technique for the detection of squamous dysplasia. Flavin adenine dinucleotide (FAD), an essential co-factor in cellular oxidative metabolism, undergoes changes in concentration and redox state during dysplastic transformations. Studies indicate a correlation between dysplastic progression and altered FAD levels, leading to variations in tissue fluorescence&amp;lt;math&amp;gt;^1&amp;lt;/math&amp;gt;. Lower FAD concentrations in dysplastic areas manifest as decreased fluorescence intensity level, which in principle can be imaged with AFI.&lt;br /&gt;
&lt;br /&gt;
AFI uses the intrinsic fluorescent properties of endogenous molecules within tissues. Under appropriate excitation wavelengths, endogenous fluorophores emit light, providing real-time visualization of tissue morphology. The altered metabolic activity and subsequent changes in FAD concentrations in dysplastic tissues offer a distinct fluorescence pattern that is in principle discernible through AFI.&lt;br /&gt;
&lt;br /&gt;
In clinical settings, AFI demonstrates promise as a non-invasive tool for identifying early dysplastic lesions. Its ability to highlight subtle changes in tissue autofluorescence can aid in targeted biopsies and delineation of margins during surgical interventions. In this project, we explore imaging of dysplastic tissues by using optical Monte Carlo based fluorescence simulations. We identify qualitative trends of image quality with respect to dysplastic lesion size, depth, and fluorophore concentration change. Understanding how photons interact with fluorophores, the probability of excitation, and the emitted fluorescence intensity can assist in predicting and interpreting experimental fluorescence measurements.&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
[[File:optical.png|300px|right| thumb | The optical processes in skin tissue, including reflection, scattering, absorption, and fluorescence. ]]&lt;br /&gt;
&lt;br /&gt;
=== Optical Processes in Skin Tissue ===&lt;br /&gt;
&lt;br /&gt;
When shining light into the skin, there are multiple light-matter interaction processes happening simultaneously, including reflection, absorption, scattering, and fluorescence as depicted in the figure below. &lt;br /&gt;
&lt;br /&gt;
The key process in this study is fluorescence. When short wavelength photon is absorbed, the material will re-emit photon at a longer wavelength and smaller energy. In the epidermis layer of the skin tissue, there are two fluorescence molecules, FAD and NADH, which are related to metabolic activities of cells. By measuring the fluorescence activities, one can monitor the localized concentration of FAD and NADH in the epidermis layer, therefore acquiring early signs on potnetial dysplasia. To model the fluorescence activities in the epidermis layer, the fluorophore is assumed to be uniformly distributed in the epidermis layer as a solution while the dysplastic region can be regarded as some localized volume with a different concentration comparing to the surrounding medium. &lt;br /&gt;
&lt;br /&gt;
Reflection refers to the back-scatter of photon at the interface between different materials when the index of refraction changes. Since the main composition of human skin is water, the variation of index of refraction is minor therefore there is negligible amount of reflection inside human skin. The strongest reflection happens at the surface of skin where photon hits the skin tissue from air. This can result in a spectral reduction of the number of photons actually entering into the skin, which results in a reduction in the actual fluorescence signal strength. &lt;br /&gt;
&lt;br /&gt;
Absorption is an intrinsic property of light-matter interaction where the amplitude of electromagnetic field attenuates as propagating. The absorption in a solution can be quatitatively described using the Beer-Lambert law, where the intensity of light decay exponentially as it travels in the absorptive medium. The decay rate is characterized by the absorption coefficient &amp;lt;math&amp;gt; \mu_\alpha &amp;lt;/math&amp;gt; which is a function of the solvend absorpsivity and its concentration. In human skin tissue, the total amount of absorption can be decomposed into several different components, including absorption from water, fat, melanin, and blood content, which can be cast by an empirical equation [REF]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; mu_{\alpha} =BS\mu_{\alpha,oxy} + B (1-S) \mu_{\alpha,deoxy} + W\mu_{\alpha,water} + F\mu_{\alpha,fat} + M\mu_{\alpha,melanosome} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The scattering process refers to the change in the direction of motion when the photon interacts with the material (mainly the nuclei). In the actual scenario of fluorescence detection, the scattering process can result in two consequences including the attenuation of number of photons in the forward propagating direction, and introducing distortion to the localized signal. The second consequence is the critical factor of reducing the signal to noise ratio, as the localized signal from the dysplasia is smeared by the uncertain scattering processes.&lt;br /&gt;
&lt;br /&gt;
=== Simulation Congifuration ===&lt;br /&gt;
&lt;br /&gt;
[[File:simulation.png|1000px|center| thumb |  ]]&lt;br /&gt;
&lt;br /&gt;
To model the optical behavior, one can extract the physical system into an emission and propagation problem as shown in the figure above. The dysplasia is characterized by a confined region inside the epidermis layer with a reduced FAD concentration.&lt;br /&gt;
&lt;br /&gt;
== Methods ==&lt;br /&gt;
&lt;br /&gt;
=== Monte Carlo Simulation ===&lt;br /&gt;
&lt;br /&gt;
Monte Carlo simulations is a useful tool for modeling and understanding the intricate behaviors of light propagation through tissues. These simulations rely on probabilistic algorithms that simulate numerous random trajectories of photons within a medium, enabling the prediction and analysis of light transport in complex systems. These trajectories are based on scattering events and the optical properties of the medium. As photons travel, they undergo interactions, either scattering off structures within the tissue or getting absorbed. The simulations track the path lengths and angles of these photons, ultimately predicting the reflectance and absorption profiles. &lt;br /&gt;
&lt;br /&gt;
To simulate fluorescence, an initial simulation models the absorption of incident photons by fluorescent molecules like FAD or other fluorophores. The resulting absorption profile is then used as a source for fluorescent light of a different wavelength and the Monte Carlo algorithm is applied again.&lt;br /&gt;
&lt;br /&gt;
=== MCMatlab ===&lt;br /&gt;
&lt;br /&gt;
We decided to use MCmatlab based on a class project from last year, where it was implemented to simulate diffuse reflectance of different oxygenation levels for various skin types. &lt;br /&gt;
&lt;br /&gt;
In MCMatlab a medium is defined by specifying a set of parameters&amp;lt;math&amp;gt;^2&amp;lt;/math&amp;gt;. The relevant parameters in our simulation are: Absorption coefficient ‘&amp;lt;math&amp;gt;\mu_a&amp;lt;/math&amp;gt;’, Scattering coefficient ‘&amp;lt;math&amp;gt;\mu_s&amp;lt;/math&amp;gt;’, Emission spectrum ‘&amp;lt;math&amp;gt;\epsilon_{\lambda}&amp;lt;/math&amp;gt;’, Quantum yield &#039;QY&#039;, Henyey-Greenstein Scattering anisotropy factor ‘g’ and Refractive Index ‘n’. &lt;br /&gt;
&lt;br /&gt;
All quantities are a function of wavelength. The absorption coefficient is given in units of cm&amp;lt;math&amp;gt;^{-1}&amp;lt;/math&amp;gt;. The scattering coefficient is expressed as the fraction of photons getting scattered while traveling in a medium per unit distance. The emission spectrum describes the relative spectral power emitted for each wavelength. The quantum yield is defined as the number of photons emitted per absorbed photons. Henyey-Greenstein Scattering anisotropy factor has a value between 0 and 1 and  quantifies the degree of angular distribution in the scattering of photons within a medium. More concretely, g = 0 signifies purely isotropic scattering, indicating an equal probability of scattering in all directions while g = 1 represents completely forward-peaked scattering, indicating a strong preference for photons to be scattered in the forward direction. See referenced documentation for full details about all parameters. &lt;br /&gt;
&lt;br /&gt;
Relevant parameters for surrounding tissue of varying levels of blood, blood oxygenation, water and fat were extracted from Jacques&#039; work&amp;lt;math&amp;gt;^3&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Equivalent Model of Fluorophore Solution ===&lt;br /&gt;
When considering the optical response of the epidermis layer for blue light, absorption occurs both directly in FAD as well as in the rest of the tissue. In MCmatlab, a material can only be defined by a single absorption coefficient and emissivity spectrum. This presents a problem since absorption from surrounding tissue artificially contribute to FAD fluorescence in the model. Unfortunately,  this yields an unacceptable degree of inaccuracy as the overall absorption by the tissue is large compared to the absorption in FAD, due to its low concentration. In other words, the majority of the fluorescence would come from absorption in tissue which normally does not fluoresce. This also makes it hard to model subtle changes in FAD levels due to the strong artificial fluorescence background.&lt;br /&gt;
&lt;br /&gt;
[[File:model.png|500px|thumb|center|The multilayer model for fluorescence Monte Carlo simulation. ]]&lt;br /&gt;
&lt;br /&gt;
To solve this issue, we introduce a multilayer model where FAD molecules distributed in a volume is collected into thin planes spread across the volume (see Figure 1). By separating FAD from the rest of the tissue components, we can define two separate media in MCmatlab with their respective optical properties, avoiding the issue of artificial fluorescence. However, changing the geometry in this way will also affect the optical response. Below, we derive an expression to correct for the geometrical change. &lt;br /&gt;
&lt;br /&gt;
The total optical absorption can be described as:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \propto \int dV (-J)\cdot E = \int dV (-i\omega\varepsilon_0 \chi |E|^2) = \int dV \omega\varepsilon_0 \chi&#039;&#039; |E|^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;J&amp;lt;/math&amp;gt; is the current density, &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; is the electric field, &amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; is the angular frequency of light, &amp;lt;math&amp;gt; \varepsilon_0&amp;lt;/math&amp;gt;  is the free space electric permittivity, &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  is the material susceptibility, and &amp;lt;math&amp;gt;\chi&#039;&#039;&amp;lt;/math&amp;gt; is the imaginary part of &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  representing the optical absorption of a certain material. Under the representation of Beer-Lambert law, the electric field penetrating in the skin can be described as an exponential decay: &amp;lt;math&amp;gt; E = E_0 \exp(-\mu_\alpha z) &amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; is the material absorpsivity in the unit of [cm]&amp;lt;math&amp;gt;^{-1}&amp;lt;/math&amp;gt;. Substituting the exponentially decaying electric field into the absorption expression and applying our one-dimensional multilayer geometry: &lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \cong C \int_{0}^{L_z} dz \exp(-2\mu_\alpha z) = C\frac{1-\exp(-2\mu_\alpha L_z)}{2\mu_\alpha} &amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;L_z&amp;lt;/math&amp;gt; is the total length in z direction. &lt;br /&gt;
&lt;br /&gt;
For convenience, one can also define the ratiometric absorbance: &amp;lt;math&amp;gt; A = -\log(\frac{I_d}{I_0}) = \mu_\alpha L_z &amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
To have the same amount of absorption in the fluorophore when using the multilayer model, we need to equivalently adjust the optical property &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; of the material to balance the effect of shrinking the volume occupied by the fluorophore. Gathering the fluorophore into a thin slab of thickness &amp;lt;math&amp;gt;\Delta{z} &amp;lt;/math&amp;gt;, the absorbance here is: &amp;lt;math&amp;gt; A= \mu_\alpha&#039; \Delta{z}&amp;lt;/math&amp;gt;. Therefore one can increase the absorption coefficient to compensate for the reduced volume. This hold true as long as the field variation across the sub-volume is linear. When &amp;lt;math&amp;gt;\mu_\alpha L_z\ll1&amp;lt;/math&amp;gt;, the field decay is approximately linear for a small change in z: &amp;lt;math&amp;gt;\exp(-\mu_\alpha&#039;z) \approx 1-\mu_\alpha&#039;z &amp;lt;/math&amp;gt; for small z. Thus, we can always compensate the change in geometry by choosing a sufficiently small spacing between the thin planes relative to the absorptivity of the material.&lt;br /&gt;
&lt;br /&gt;
Using the equivalent absorpsivity correction, the total absorption is the same. In addition, the blue photon absorbed by FAD will result in the fluorescence emission, such that the correct FAD fluorescence activity can be simulated.&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
&lt;br /&gt;
The properties of the dysplastic region directly determines the fluorescence signal. Here, the properties refer to the geometry size, shape, the fluorophore concentration, and the location inside the skin tissue. Below, we will carry out a few computational and numerical experiments to qualitatively describe the dependence between the fluorescence signal strength and these factors. The simulation is conducted based on MCMatlab Fluorescence Monte Carlo simulation package. &lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Width ===&lt;br /&gt;
[[File:results1_updated.png|900px|thumb|center| (a) Schematic of the geometry, which is defined as a one-dimensional variation in FAD concentration with a low concentration at the central part representing the dysplastic region. (b) The actual fluorescence signal measured as a function of x position. The contrast signal is extracted as the ratio between the magnitude of the dip and the maximum signal level. (c) The dependence betweewn the width of the dysplastic region and the fluorescence contrast signal. (d) The measured fluorescence signal for each width value with an increasing width from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
For the first study, the simulated geometry is defined as a one-dimensional concentration variation in &amp;quot;x&amp;quot; as shown in the figure above with a lower FAD concentration at the central region representing the dysplastic region. The width of the dysplastic region is swept and the output fluorescence contrast signal is measured. It is shown that the contrast signal first goes up, then saturates at w~0.35 mm. At small width values, the signals are mixed up from the two edges where the concentration changes sharply, so that one cannot resolve the full contrast signal. When the two edges are separated sufficiently far, the full signal can be resolved, giving a relative fluorescence contrast as 0.3.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Depth ===&lt;br /&gt;
Next, the qualitative relation is studied between the depth of the dysplastic region inside the skin and the fluorescence contrast signal. In this case, the geometry is defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm and the thickness to 0.1 mm. The depth is set as the swept parameter, and it is defined as the distance between the top surface of the epidermis layer and the top surface of the rectangular wire. &lt;br /&gt;
&lt;br /&gt;
[[File:results2_updated.png|600px|thumb|center| (a) Schematic of the geometry, where the FAD concentration inside the rectangular rod is lower, representing the dysplastic region. The depth of the rectangular wire is swept. (b) The dependence betweewn the depth of the dysplastic region and the fluorescence contrast signal. The red dashed line illustrates an exponential fitting of the simulation results. (c) The measured fluorescence signal for each depth value with an increasing depth from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that the fluorescence contrast signal decreases as the depth increases, which agrees with intuition. As for a deeper location inside the skin, it takes farther distance for the fluorescent light to travel out, therefore the distortion introduced by the scattering events as the light propagates through the skin tissue is stronger. In addition, the attenuation from both scattering and absorption is stronger as well, which further reduces the SNR. For depth greater than 0.1 mm, the contrast signal strength is nearly vanishing.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the FAD Concentration Difference ===&lt;br /&gt;
Similarly, the strength of the contrast signal should also be a function of the concentration difference of FAD between the dysplastic and the healthy tissue. The geometry is again defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm, the thickness to 0.1 mm, and the depth is set to 0.04 mm. The volumetric concentration of FAD in the healthy region is fixed to 0.2 while the FAD concentration in the dysplastic region is varied from 0 to 0.2. &lt;br /&gt;
&lt;br /&gt;
[[File:results32_updated.png|900px|thumb|center| (a,c) Schematic of the geometry, (a) has a shallower dysplastic region while it is deeper in (c). The FAD concentration inside the rectangular rod is swept. (b,d) The dependence betweewn the concentration difference and the fluorescence contrast signal. (c) The measured fluorescence signal for each concentration value with a decreasing concentration contrast from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that for 0.04 mm as the depth, the fluorescence contrast signal is linearly proportional to the FAD concentration difference, which again agrees with intuition. The concentration difference determines the distribution in the number of fluorescence emitter, which is equivalent to the source and directly proportional to the fluorescence intensity. When increasing the depth of the rectangular wire to 0.1 mm, again the linear dependence is shown however with an overall lower amplitude, representing the decrease in the number of fluorescence emitter.&lt;br /&gt;
&lt;br /&gt;
=== Image Quality and Simulation Limitations  ===&lt;br /&gt;
Optical Monte Carlo simulations, while powerful and versatile, are computationally demanding due to the nature of light propagation and the need to model a vast number of photon trajectories. The computational expense arises from the necessity to track individual photon interactions and their probabilistic behavior as they scatter, absorb, and move through the medium.  Modeling three-dimensional environments adds complexity, as simulations must account for photon movements in all spatial directions within the medium. To illustrate this, a regular high performance laptop were able to simulate about 10&amp;lt;math&amp;gt;^6&amp;lt;/math&amp;gt; photons per minute, while a 1mW light source at 400 nm emits 10&amp;lt;math&amp;gt;^{15}&amp;lt;/math&amp;gt; photons per second. This can be a problem when trying to model realistic scenarios with low signal to noise. Figure 5 shows a set of images of an embedded dysplastic lesion in healthy tissue, with varying number of simulated photons. The images corresponds to a total simulation time of 4, 40 and 400 minutes, respectively (half to acquire the absorption profile and half for the fluorescence signal).&lt;br /&gt;
&lt;br /&gt;
[[File:imagesAndSchematic.png|900px|thumb|center| a) Schematic of simulation. A 425nm LED is used as an excitation source and fluorescence is collected at 530nm. b) Image quality as a function of simulation number of photons simulated. Top) Collected images of an embedded dysplastic lesion inside healthy tissue. Bottom) Cross section of the image intensity.  ]]&lt;br /&gt;
&lt;br /&gt;
== Conclusions ==&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
1. Y. Xu et al. Optical Imaging in the Diagnosis of OPMDs Malignant Transformation, Journal of Dental Research 2022, Vol. 101(7) 749–758&lt;br /&gt;
&lt;br /&gt;
2. MCmatlab package and documentation: https://github.com/ankrh/MCmatlab&lt;br /&gt;
&lt;br /&gt;
3. Steven L Jacques Optical properties of biological tissues: a review, 2013 Phys. Med. Biol. 58 R37&lt;/div&gt;</summary>
		<author><name>Bohan</name></author>
	</entry>
	<entry>
		<id>http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=34057</id>
		<title>Medical imaging: Simulations of reflectance and fluorescence of human tissue</title>
		<link rel="alternate" type="text/html" href="http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=34057"/>
		<updated>2023-12-18T18:45:28Z</updated>

		<summary type="html">&lt;p&gt;Bohan: /* Background */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
Squamous dysplasia, a precursor to squamous cell carcinoma, represents a spectrum of histological alterations within the epithelium, characterized by abnormal cellular morphology and metabolism. Early identification is critical to prevent the progression to invasive carcinoma. Auto fluorescent imaging (AFI) has emerged as a promising non-invasive technique for the detection of squamous dysplasia. Flavin adenine dinucleotide (FAD), an essential co-factor in cellular oxidative metabolism, undergoes changes in concentration and redox state during dysplastic transformations. Studies indicate a correlation between dysplastic progression and altered FAD levels, leading to variations in tissue fluorescence&amp;lt;math&amp;gt;^1&amp;lt;/math&amp;gt;. Lower FAD concentrations in dysplastic areas manifest as decreased fluorescence intensity level, which in principle can be imaged with AFI.&lt;br /&gt;
&lt;br /&gt;
AFI uses the intrinsic fluorescent properties of endogenous molecules within tissues. Under appropriate excitation wavelengths, endogenous fluorophores emit light, providing real-time visualization of tissue morphology. The altered metabolic activity and subsequent changes in FAD concentrations in dysplastic tissues offer a distinct fluorescence pattern that is in principle discernible through AFI.&lt;br /&gt;
&lt;br /&gt;
In clinical settings, AFI demonstrates promise as a non-invasive tool for identifying early dysplastic lesions. Its ability to highlight subtle changes in tissue autofluorescence can aid in targeted biopsies and delineation of margins during surgical interventions. In this project, we explore imaging of dysplastic tissues by using optical Monte Carlo based fluorescence simulations. We identify qualitative trends of image quality with respect to dysplastic lesion size, depth, and fluorophore concentration change. Understanding how photons interact with fluorophores, the probability of excitation, and the emitted fluorescence intensity can assist in predicting and interpreting experimental fluorescence measurements.&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
[[File:optical.png|300px|right| thumb | The optical processes in skin tissue, including reflection, scattering, absorption, and fluorescence. ]]&lt;br /&gt;
&lt;br /&gt;
=== Optical Processes in Skin Tissue ===&lt;br /&gt;
&lt;br /&gt;
When shining light into the skin, there are multiple light-matter interaction processes happening simultaneously, including reflection, absorption, scattering, and fluorescence as depicted in the figure below. &lt;br /&gt;
&lt;br /&gt;
The key process in this study is fluorescence. When short wavelength photon is absorbed, the material will re-emit photon at a longer wavelength and smaller energy. In the epidermis layer of the skin tissue, there are two fluorescence molecules, FAD and NADH, which are related to metabolic activities of cells. By measuring the fluorescence activities, one can monitor the localized concentration of FAD and NADH in the epidermis layer, therefore acquiring early signs on potnetial dysplasia. To model the fluorescence activities in the epidermis layer, the fluorophore is assumed to be uniformly distributed in the epidermis layer as a solution while the dysplastic region can be regarded as some localized volume with a different concentration comparing to the surrounding medium. &lt;br /&gt;
&lt;br /&gt;
Reflection refers to the back-scatter of photon at the interface between different materials when the index of refraction changes. Since the main composition of human skin is water, the variation of index of refraction is minor therefore there is negligible amount of reflection inside human skin. The strongest reflection happens at the surface of skin where photon hits the skin tissue from air. This can result in a spectral reduction of the number of photons actually entering into the skin, which results in a reduction in the actual fluorescence signal strength. &lt;br /&gt;
&lt;br /&gt;
Absorption is an intrinsic property of light-matter interaction where the amplitude of electromagnetic field attenuates as propagating. The absorption in a solution can be quatitatively described using the Beer-Lambert law, where the intensity of light decay exponentially as it travels in the absorptive medium. The decay rate is characterized by the absorption coefficient &amp;lt;math&amp;gt; \mu_\alpha &amp;lt;/math&amp;gt; which is a function of the solvend absorpsivity and its concentration. In human skin tissue, the total amount of absorption can be decomposed into several different components, including absorption from water, fat, melanin, and blood content, which can be cast by an empirical equation [REF]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; mu_{\alpha} =BS\mu_{\alpha,oxy} + B (1-S) \mu_{\alpha,deoxy} + W\mu_{\alpha,water} + F\mu_{\alpha,fat} + M\mu_{\alpha,melanosome} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The scattering process refers to the change in the direction of motion when the photon interacts with the material (mainly the nuclei). In the actual scenario of fluorescence detection, the scattering process can result in two consequences including the attenuation of number of photons in the forward propagating direction, and introducing distortion to the localized signal. The second consequence is the critical factor of reducing the signal to noise ratio, as the localized signal from the dysplasia is smeared by the uncertain scattering processes.&lt;br /&gt;
&lt;br /&gt;
=== Simulation Congifuration ===&lt;br /&gt;
&lt;br /&gt;
[[File:simulation.png|1200px|center| thumb |  ]]&lt;br /&gt;
&lt;br /&gt;
To model the behavior, one can extract the physical system into an emission and propagation problem as shown in the figure above.&lt;br /&gt;
&lt;br /&gt;
== Methods ==&lt;br /&gt;
&lt;br /&gt;
=== Monte Carlo Simulation ===&lt;br /&gt;
&lt;br /&gt;
Monte Carlo simulations is a useful tool for modeling and understanding the intricate behaviors of light propagation through tissues. These simulations rely on probabilistic algorithms that simulate numerous random trajectories of photons within a medium, enabling the prediction and analysis of light transport in complex systems. These trajectories are based on scattering events and the optical properties of the medium. As photons travel, they undergo interactions, either scattering off structures within the tissue or getting absorbed. The simulations track the path lengths and angles of these photons, ultimately predicting the reflectance and absorption profiles. &lt;br /&gt;
&lt;br /&gt;
To simulate fluorescence, an initial simulation models the absorption of incident photons by fluorescent molecules like FAD or other fluorophores. The resulting absorption profile is then used as a source for fluorescent light of a different wavelength and the Monte Carlo algorithm is applied again.&lt;br /&gt;
&lt;br /&gt;
=== MCMatlab ===&lt;br /&gt;
&lt;br /&gt;
We decided to use MCmatlab based on a class project from last year, where it was implemented to simulate diffuse reflectance of different oxygenation levels for various skin types. &lt;br /&gt;
&lt;br /&gt;
In MCMatlab a medium is defined by specifying a set of parameters&amp;lt;math&amp;gt;^2&amp;lt;/math&amp;gt;. The relevant parameters in our simulation are: Absorption coefficient ‘&amp;lt;math&amp;gt;\mu_a&amp;lt;/math&amp;gt;’, Scattering coefficient ‘&amp;lt;math&amp;gt;\mu_s&amp;lt;/math&amp;gt;’, Emission spectrum ‘&amp;lt;math&amp;gt;\epsilon_{\lambda}&amp;lt;/math&amp;gt;’, Quantum yield &#039;QY&#039;, Henyey-Greenstein Scattering anisotropy factor ‘g’ and Refractive Index ‘n’. &lt;br /&gt;
&lt;br /&gt;
All quantities are a function of wavelength. The absorption coefficient is given in units of cm&amp;lt;math&amp;gt;^{-1}&amp;lt;/math&amp;gt;. The scattering coefficient is expressed as the fraction of photons getting scattered while traveling in a medium per unit distance. The emission spectrum describes the relative spectral power emitted for each wavelength. The quantum yield is defined as the number of photons emitted per absorbed photons. Henyey-Greenstein Scattering anisotropy factor has a value between 0 and 1 and  quantifies the degree of angular distribution in the scattering of photons within a medium. More concretely, g = 0 signifies purely isotropic scattering, indicating an equal probability of scattering in all directions while g = 1 represents completely forward-peaked scattering, indicating a strong preference for photons to be scattered in the forward direction. See referenced documentation for full details about all parameters. &lt;br /&gt;
&lt;br /&gt;
Relevant parameters for surrounding tissue of varying levels of blood, blood oxygenation, water and fat were extracted from Jacques&#039; work&amp;lt;math&amp;gt;^3&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Equivalent Model of Fluorophore Solution ===&lt;br /&gt;
When considering the optical response of the epidermis layer for blue light, absorption occurs both directly in FAD as well as in the rest of the tissue. In MCmatlab, a material can only be defined by a single absorption coefficient and emissivity spectrum. This presents a problem since absorption from surrounding tissue artificially contribute to FAD fluorescence in the model. Unfortunately,  this yields an unacceptable degree of inaccuracy as the overall absorption by the tissue is large compared to the absorption in FAD, due to its low concentration. In other words, the majority of the fluorescence would come from absorption in tissue which normally does not fluoresce. This also makes it hard to model subtle changes in FAD levels due to the strong artificial fluorescence background.&lt;br /&gt;
&lt;br /&gt;
[[File:model.png|500px|thumb|center|The multilayer model for fluorescence Monte Carlo simulation. ]]&lt;br /&gt;
&lt;br /&gt;
To solve this issue, we introduce a multilayer model where FAD molecules distributed in a volume is collected into thin planes spread across the volume (see Figure 1). By separating FAD from the rest of the tissue components, we can define two separate media in MCmatlab with their respective optical properties, avoiding the issue of artificial fluorescence. However, changing the geometry in this way will also affect the optical response. Below, we derive an expression to correct for the geometrical change. &lt;br /&gt;
&lt;br /&gt;
The total optical absorption can be described as:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \propto \int dV (-J)\cdot E = \int dV (-i\omega\varepsilon_0 \chi |E|^2) = \int dV \omega\varepsilon_0 \chi&#039;&#039; |E|^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;J&amp;lt;/math&amp;gt; is the current density, &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; is the electric field, &amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; is the angular frequency of light, &amp;lt;math&amp;gt; \varepsilon_0&amp;lt;/math&amp;gt;  is the free space electric permittivity, &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  is the material susceptibility, and &amp;lt;math&amp;gt;\chi&#039;&#039;&amp;lt;/math&amp;gt; is the imaginary part of &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  representing the optical absorption of a certain material. Under the representation of Beer-Lambert law, the electric field penetrating in the skin can be described as an exponential decay: &amp;lt;math&amp;gt; E = E_0 \exp(-\mu_\alpha z) &amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; is the material absorpsivity in the unit of [cm]&amp;lt;math&amp;gt;^{-1}&amp;lt;/math&amp;gt;. Substituting the exponentially decaying electric field into the absorption expression and applying our one-dimensional multilayer geometry: &lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \cong C \int_{0}^{L_z} dz \exp(-2\mu_\alpha z) = C\frac{1-\exp(-2\mu_\alpha L_z)}{2\mu_\alpha} &amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;L_z&amp;lt;/math&amp;gt; is the total length in z direction. &lt;br /&gt;
&lt;br /&gt;
For convenience, one can also define the ratiometric absorbance: &amp;lt;math&amp;gt; A = -\log(\frac{I_d}{I_0}) = \mu_\alpha L_z &amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
To have the same amount of absorption in the fluorophore when using the multilayer model, we need to equivalently adjust the optical property &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; of the material to balance the effect of shrinking the volume occupied by the fluorophore. Gathering the fluorophore into a thin slab of thickness &amp;lt;math&amp;gt;\Delta{z} &amp;lt;/math&amp;gt;, the absorbance here is: &amp;lt;math&amp;gt; A= \mu_\alpha&#039; \Delta{z}&amp;lt;/math&amp;gt;. Therefore one can increase the absorption coefficient to compensate for the reduced volume. This hold true as long as the field variation across the sub-volume is linear. When &amp;lt;math&amp;gt;\mu_\alpha L_z\ll1&amp;lt;/math&amp;gt;, the field decay is approximately linear for a small change in z: &amp;lt;math&amp;gt;\exp(-\mu_\alpha&#039;z) \approx 1-\mu_\alpha&#039;z &amp;lt;/math&amp;gt; for small z. Thus, we can always compensate the change in geometry by choosing a sufficiently small spacing between the thin planes relative to the absorptivity of the material.&lt;br /&gt;
&lt;br /&gt;
Using the equivalent absorpsivity correction, the total absorption is the same. In addition, the blue photon absorbed by FAD will result in the fluorescence emission, such that the correct FAD fluorescence activity can be simulated.&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
&lt;br /&gt;
The properties of the dysplastic region directly determines the fluorescence signal. Here, the properties refer to the geometry size, shape, the fluorophore concentration, and the location inside the skin tissue. Below, we will carry out a few computational and numerical experiments to qualitatively describe the dependence between the fluorescence signal strength and these factors. The simulation is conducted based on MCMatlab Fluorescence Monte Carlo simulation package. &lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Width ===&lt;br /&gt;
[[File:results1_updated.png|900px|thumb|center| (a) Schematic of the geometry, which is defined as a one-dimensional variation in FAD concentration with a low concentration at the central part representing the dysplastic region. (b) The actual fluorescence signal measured as a function of x position. The contrast signal is extracted as the ratio between the magnitude of the dip and the maximum signal level. (c) The dependence betweewn the width of the dysplastic region and the fluorescence contrast signal. (d) The measured fluorescence signal for each width value with an increasing width from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
For the first study, the simulated geometry is defined as a one-dimensional concentration variation in &amp;quot;x&amp;quot; as shown in the figure above with a lower FAD concentration at the central region representing the dysplastic region. The width of the dysplastic region is swept and the output fluorescence contrast signal is measured. It is shown that the contrast signal first goes up, then saturates at w~0.35 mm. At small width values, the signals are mixed up from the two edges where the concentration changes sharply, so that one cannot resolve the full contrast signal. When the two edges are separated sufficiently far, the full signal can be resolved, giving a relative fluorescence contrast as 0.3.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Depth ===&lt;br /&gt;
Next, the qualitative relation is studied between the depth of the dysplastic region inside the skin and the fluorescence contrast signal. In this case, the geometry is defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm and the thickness to 0.1 mm. The depth is set as the swept parameter, and it is defined as the distance between the top surface of the epidermis layer and the top surface of the rectangular wire. &lt;br /&gt;
&lt;br /&gt;
[[File:results2_updated.png|600px|thumb|center| (a) Schematic of the geometry, where the FAD concentration inside the rectangular rod is lower, representing the dysplastic region. The depth of the rectangular wire is swept. (b) The dependence betweewn the depth of the dysplastic region and the fluorescence contrast signal. The red dashed line illustrates an exponential fitting of the simulation results. (c) The measured fluorescence signal for each depth value with an increasing depth from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that the fluorescence contrast signal decreases as the depth increases, which agrees with intuition. As for a deeper location inside the skin, it takes farther distance for the fluorescent light to travel out, therefore the distortion introduced by the scattering events as the light propagates through the skin tissue is stronger. In addition, the attenuation from both scattering and absorption is stronger as well, which further reduces the SNR. For depth greater than 0.1 mm, the contrast signal strength is nearly vanishing.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the FAD Concentration Difference ===&lt;br /&gt;
Similarly, the strength of the contrast signal should also be a function of the concentration difference of FAD between the dysplastic and the healthy tissue. The geometry is again defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm, the thickness to 0.1 mm, and the depth is set to 0.04 mm. The volumetric concentration of FAD in the healthy region is fixed to 0.2 while the FAD concentration in the dysplastic region is varied from 0 to 0.2. &lt;br /&gt;
&lt;br /&gt;
[[File:results32_updated.png|900px|thumb|center| (a,c) Schematic of the geometry, (a) has a shallower dysplastic region while it is deeper in (c). The FAD concentration inside the rectangular rod is swept. (b,d) The dependence betweewn the concentration difference and the fluorescence contrast signal. (c) The measured fluorescence signal for each concentration value with a decreasing concentration contrast from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that for 0.04 mm as the depth, the fluorescence contrast signal is linearly proportional to the FAD concentration difference, which again agrees with intuition. The concentration difference determines the distribution in the number of fluorescence emitter, which is equivalent to the source and directly proportional to the fluorescence intensity. When increasing the depth of the rectangular wire to 0.1 mm, again the linear dependence is shown however with an overall lower amplitude, representing the decrease in the number of fluorescence emitter.&lt;br /&gt;
&lt;br /&gt;
=== Image Quality and Simulation Limitations  ===&lt;br /&gt;
Optical Monte Carlo simulations, while powerful and versatile, are computationally demanding due to the nature of light propagation and the need to model a vast number of photon trajectories. The computational expense arises from the necessity to track individual photon interactions and their probabilistic behavior as they scatter, absorb, and move through the medium.  Modeling three-dimensional environments adds complexity, as simulations must account for photon movements in all spatial directions within the medium. To illustrate this, a regular high performance laptop were able to simulate about 10&amp;lt;math&amp;gt;^6&amp;lt;/math&amp;gt; photons per minute, while a 1mW light source at 400 nm emits 10&amp;lt;math&amp;gt;^{15}&amp;lt;/math&amp;gt; photons per second. This can be a problem when trying to model realistic scenarios with low signal to noise. Figure 5 shows a set of images of an embedded dysplastic lesion in healthy tissue, with varying number of simulated photons. The images corresponds to a total simulation time of 4, 40 and 400 minutes, respectively (half to acquire the absorption profile and half for the fluorescence signal).&lt;br /&gt;
&lt;br /&gt;
[[File:imagesAndSchematic.png|900px|thumb|center| a) Schematic of simulation. A 425nm LED is used as an excitation source and fluorescence is collected at 530nm. b) Image quality as a function of simulation number of photons simulated. Top) Collected images of an embedded dysplastic lesion inside healthy tissue. Bottom) Cross section of the image intensity.  ]]&lt;br /&gt;
&lt;br /&gt;
== Conclusions ==&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
1. Y. Xu et al. Optical Imaging in the Diagnosis of OPMDs Malignant Transformation, Journal of Dental Research 2022, Vol. 101(7) 749–758&lt;br /&gt;
&lt;br /&gt;
2. MCmatlab package and documentation: https://github.com/ankrh/MCmatlab&lt;br /&gt;
&lt;br /&gt;
3. Steven L Jacques Optical properties of biological tissues: a review, 2013 Phys. Med. Biol. 58 R37&lt;/div&gt;</summary>
		<author><name>Bohan</name></author>
	</entry>
	<entry>
		<id>http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=34056</id>
		<title>Medical imaging: Simulations of reflectance and fluorescence of human tissue</title>
		<link rel="alternate" type="text/html" href="http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=34056"/>
		<updated>2023-12-18T18:44:42Z</updated>

		<summary type="html">&lt;p&gt;Bohan: /* Simulation Congifuration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
Squamous dysplasia, a precursor to squamous cell carcinoma, represents a spectrum of histological alterations within the epithelium, characterized by abnormal cellular morphology and metabolism. Early identification is critical to prevent the progression to invasive carcinoma. Auto fluorescent imaging (AFI) has emerged as a promising non-invasive technique for the detection of squamous dysplasia. Flavin adenine dinucleotide (FAD), an essential co-factor in cellular oxidative metabolism, undergoes changes in concentration and redox state during dysplastic transformations. Studies indicate a correlation between dysplastic progression and altered FAD levels, leading to variations in tissue fluorescence&amp;lt;math&amp;gt;^1&amp;lt;/math&amp;gt;. Lower FAD concentrations in dysplastic areas manifest as decreased fluorescence intensity level, which in principle can be imaged with AFI.&lt;br /&gt;
&lt;br /&gt;
AFI uses the intrinsic fluorescent properties of endogenous molecules within tissues. Under appropriate excitation wavelengths, endogenous fluorophores emit light, providing real-time visualization of tissue morphology. The altered metabolic activity and subsequent changes in FAD concentrations in dysplastic tissues offer a distinct fluorescence pattern that is in principle discernible through AFI.&lt;br /&gt;
&lt;br /&gt;
In clinical settings, AFI demonstrates promise as a non-invasive tool for identifying early dysplastic lesions. Its ability to highlight subtle changes in tissue autofluorescence can aid in targeted biopsies and delineation of margins during surgical interventions. In this project, we explore imaging of dysplastic tissues by using optical Monte Carlo based fluorescence simulations. We identify qualitative trends of image quality with respect to dysplastic lesion size, depth, and fluorophore concentration change. Understanding how photons interact with fluorophores, the probability of excitation, and the emitted fluorescence intensity can assist in predicting and interpreting experimental fluorescence measurements.&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
[[File:optical.png|300px|right| thumb | The optical processes in skin tissue, including reflection, scattering, absorption, and fluorescence. ]]&lt;br /&gt;
&lt;br /&gt;
=== Optical Processes in Skin Tissue ===&lt;br /&gt;
&lt;br /&gt;
When shining light into the skin, there are multiple light-matter interaction processes happening simultaneously, including reflection, absorption, scattering, and fluorescence as depicted in the figure below. &lt;br /&gt;
&lt;br /&gt;
The key process in this study is fluorescence. When short wavelength photon is absorbed, the material will re-emit photon at a longer wavelength and smaller energy. In the epidermis layer of the skin tissue, there are two fluorescence molecules, FAD and NADH, which are related to metabolic activities of cells. By measuring the fluorescence activities, one can monitor the localized concentration of FAD and NADH in the epidermis layer, therefore acquiring early signs on potnetial dysplasia. To model the fluorescence activities in the epidermis layer, the fluorophore is assumed to be uniformly distributed in the epidermis layer as a solution while the dysplastic region can be regarded as some localized volume with a different concentration comparing to the surrounding medium. &lt;br /&gt;
&lt;br /&gt;
Reflection refers to the back-scatter of photon at the interface between different materials when the index of refraction changes. Since the main composition of human skin is water, the variation of index of refraction is minor therefore there is negligible amount of reflection inside human skin. The strongest reflection happens at the surface of skin where photon hits the skin tissue from air. This can result in a spectral reduction of the number of photons actually entering into the skin, which results in a reduction in the actual fluorescence signal strength. &lt;br /&gt;
&lt;br /&gt;
Absorption is an intrinsic property of light-matter interaction where the amplitude of electromagnetic field attenuates as propagating. The absorption in a solution can be quatitatively described using the Beer-Lambert law, where the intensity of light decay exponentially as it travels in the absorptive medium. The decay rate is characterized by the absorption coefficient &amp;lt;math&amp;gt; \mu_\alpha &amp;lt;/math&amp;gt; which is a function of the solvend absorpsivity and its concentration. In human skin tissue, the total amount of absorption can be decomposed into several different components, including absorption from water, fat, melanin, and blood content, which can be cast by an empirical equation [REF]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; mu_{\alpha} =BS\mu_{\alpha,oxy} + B (1-S) \mu_{\alpha,deoxy} + W\mu_{\alpha,water} + F\mu_{\alpha,fat} + M\mu_{\alpha,melanosome} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The scattering process refers to the change in the direction of motion when the photon interacts with the material (mainly the nuclei). In the actual scenario of fluorescence detection, the scattering process can result in two consequences including the attenuation of number of photons in the forward propagating direction, and introducing distortion to the localized signal. The second consequence is the critical factor of reducing the signal to noise ratio, as the localized signal from the dysplasia is smeared by the uncertain scattering processes.&lt;br /&gt;
&lt;br /&gt;
=== Simulation Congifuration ===&lt;br /&gt;
&lt;br /&gt;
[[]]&lt;br /&gt;
&lt;br /&gt;
To model the behavior, one can extract the physical system into an emission and propagation problem as shown in the figure above.&lt;br /&gt;
&lt;br /&gt;
== Methods ==&lt;br /&gt;
&lt;br /&gt;
=== Monte Carlo Simulation ===&lt;br /&gt;
&lt;br /&gt;
Monte Carlo simulations is a useful tool for modeling and understanding the intricate behaviors of light propagation through tissues. These simulations rely on probabilistic algorithms that simulate numerous random trajectories of photons within a medium, enabling the prediction and analysis of light transport in complex systems. These trajectories are based on scattering events and the optical properties of the medium. As photons travel, they undergo interactions, either scattering off structures within the tissue or getting absorbed. The simulations track the path lengths and angles of these photons, ultimately predicting the reflectance and absorption profiles. &lt;br /&gt;
&lt;br /&gt;
To simulate fluorescence, an initial simulation models the absorption of incident photons by fluorescent molecules like FAD or other fluorophores. The resulting absorption profile is then used as a source for fluorescent light of a different wavelength and the Monte Carlo algorithm is applied again.&lt;br /&gt;
&lt;br /&gt;
=== MCMatlab ===&lt;br /&gt;
&lt;br /&gt;
We decided to use MCmatlab based on a class project from last year, where it was implemented to simulate diffuse reflectance of different oxygenation levels for various skin types. &lt;br /&gt;
&lt;br /&gt;
In MCMatlab a medium is defined by specifying a set of parameters&amp;lt;math&amp;gt;^2&amp;lt;/math&amp;gt;. The relevant parameters in our simulation are: Absorption coefficient ‘&amp;lt;math&amp;gt;\mu_a&amp;lt;/math&amp;gt;’, Scattering coefficient ‘&amp;lt;math&amp;gt;\mu_s&amp;lt;/math&amp;gt;’, Emission spectrum ‘&amp;lt;math&amp;gt;\epsilon_{\lambda}&amp;lt;/math&amp;gt;’, Quantum yield &#039;QY&#039;, Henyey-Greenstein Scattering anisotropy factor ‘g’ and Refractive Index ‘n’. &lt;br /&gt;
&lt;br /&gt;
All quantities are a function of wavelength. The absorption coefficient is given in units of cm&amp;lt;math&amp;gt;^{-1}&amp;lt;/math&amp;gt;. The scattering coefficient is expressed as the fraction of photons getting scattered while traveling in a medium per unit distance. The emission spectrum describes the relative spectral power emitted for each wavelength. The quantum yield is defined as the number of photons emitted per absorbed photons. Henyey-Greenstein Scattering anisotropy factor has a value between 0 and 1 and  quantifies the degree of angular distribution in the scattering of photons within a medium. More concretely, g = 0 signifies purely isotropic scattering, indicating an equal probability of scattering in all directions while g = 1 represents completely forward-peaked scattering, indicating a strong preference for photons to be scattered in the forward direction. See referenced documentation for full details about all parameters. &lt;br /&gt;
&lt;br /&gt;
Relevant parameters for surrounding tissue of varying levels of blood, blood oxygenation, water and fat were extracted from Jacques&#039; work&amp;lt;math&amp;gt;^3&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Equivalent Model of Fluorophore Solution ===&lt;br /&gt;
When considering the optical response of the epidermis layer for blue light, absorption occurs both directly in FAD as well as in the rest of the tissue. In MCmatlab, a material can only be defined by a single absorption coefficient and emissivity spectrum. This presents a problem since absorption from surrounding tissue artificially contribute to FAD fluorescence in the model. Unfortunately,  this yields an unacceptable degree of inaccuracy as the overall absorption by the tissue is large compared to the absorption in FAD, due to its low concentration. In other words, the majority of the fluorescence would come from absorption in tissue which normally does not fluoresce. This also makes it hard to model subtle changes in FAD levels due to the strong artificial fluorescence background.&lt;br /&gt;
&lt;br /&gt;
[[File:model.png|500px|thumb|center|The multilayer model for fluorescence Monte Carlo simulation. ]]&lt;br /&gt;
&lt;br /&gt;
To solve this issue, we introduce a multilayer model where FAD molecules distributed in a volume is collected into thin planes spread across the volume (see Figure 1). By separating FAD from the rest of the tissue components, we can define two separate media in MCmatlab with their respective optical properties, avoiding the issue of artificial fluorescence. However, changing the geometry in this way will also affect the optical response. Below, we derive an expression to correct for the geometrical change. &lt;br /&gt;
&lt;br /&gt;
The total optical absorption can be described as:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \propto \int dV (-J)\cdot E = \int dV (-i\omega\varepsilon_0 \chi |E|^2) = \int dV \omega\varepsilon_0 \chi&#039;&#039; |E|^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;J&amp;lt;/math&amp;gt; is the current density, &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; is the electric field, &amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; is the angular frequency of light, &amp;lt;math&amp;gt; \varepsilon_0&amp;lt;/math&amp;gt;  is the free space electric permittivity, &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  is the material susceptibility, and &amp;lt;math&amp;gt;\chi&#039;&#039;&amp;lt;/math&amp;gt; is the imaginary part of &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  representing the optical absorption of a certain material. Under the representation of Beer-Lambert law, the electric field penetrating in the skin can be described as an exponential decay: &amp;lt;math&amp;gt; E = E_0 \exp(-\mu_\alpha z) &amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; is the material absorpsivity in the unit of [cm]&amp;lt;math&amp;gt;^{-1}&amp;lt;/math&amp;gt;. Substituting the exponentially decaying electric field into the absorption expression and applying our one-dimensional multilayer geometry: &lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \cong C \int_{0}^{L_z} dz \exp(-2\mu_\alpha z) = C\frac{1-\exp(-2\mu_\alpha L_z)}{2\mu_\alpha} &amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;L_z&amp;lt;/math&amp;gt; is the total length in z direction. &lt;br /&gt;
&lt;br /&gt;
For convenience, one can also define the ratiometric absorbance: &amp;lt;math&amp;gt; A = -\log(\frac{I_d}{I_0}) = \mu_\alpha L_z &amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
To have the same amount of absorption in the fluorophore when using the multilayer model, we need to equivalently adjust the optical property &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; of the material to balance the effect of shrinking the volume occupied by the fluorophore. Gathering the fluorophore into a thin slab of thickness &amp;lt;math&amp;gt;\Delta{z} &amp;lt;/math&amp;gt;, the absorbance here is: &amp;lt;math&amp;gt; A= \mu_\alpha&#039; \Delta{z}&amp;lt;/math&amp;gt;. Therefore one can increase the absorption coefficient to compensate for the reduced volume. This hold true as long as the field variation across the sub-volume is linear. When &amp;lt;math&amp;gt;\mu_\alpha L_z\ll1&amp;lt;/math&amp;gt;, the field decay is approximately linear for a small change in z: &amp;lt;math&amp;gt;\exp(-\mu_\alpha&#039;z) \approx 1-\mu_\alpha&#039;z &amp;lt;/math&amp;gt; for small z. Thus, we can always compensate the change in geometry by choosing a sufficiently small spacing between the thin planes relative to the absorptivity of the material.&lt;br /&gt;
&lt;br /&gt;
Using the equivalent absorpsivity correction, the total absorption is the same. In addition, the blue photon absorbed by FAD will result in the fluorescence emission, such that the correct FAD fluorescence activity can be simulated.&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
&lt;br /&gt;
The properties of the dysplastic region directly determines the fluorescence signal. Here, the properties refer to the geometry size, shape, the fluorophore concentration, and the location inside the skin tissue. Below, we will carry out a few computational and numerical experiments to qualitatively describe the dependence between the fluorescence signal strength and these factors. The simulation is conducted based on MCMatlab Fluorescence Monte Carlo simulation package. &lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Width ===&lt;br /&gt;
[[File:results1_updated.png|900px|thumb|center| (a) Schematic of the geometry, which is defined as a one-dimensional variation in FAD concentration with a low concentration at the central part representing the dysplastic region. (b) The actual fluorescence signal measured as a function of x position. The contrast signal is extracted as the ratio between the magnitude of the dip and the maximum signal level. (c) The dependence betweewn the width of the dysplastic region and the fluorescence contrast signal. (d) The measured fluorescence signal for each width value with an increasing width from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
For the first study, the simulated geometry is defined as a one-dimensional concentration variation in &amp;quot;x&amp;quot; as shown in the figure above with a lower FAD concentration at the central region representing the dysplastic region. The width of the dysplastic region is swept and the output fluorescence contrast signal is measured. It is shown that the contrast signal first goes up, then saturates at w~0.35 mm. At small width values, the signals are mixed up from the two edges where the concentration changes sharply, so that one cannot resolve the full contrast signal. When the two edges are separated sufficiently far, the full signal can be resolved, giving a relative fluorescence contrast as 0.3.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Depth ===&lt;br /&gt;
Next, the qualitative relation is studied between the depth of the dysplastic region inside the skin and the fluorescence contrast signal. In this case, the geometry is defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm and the thickness to 0.1 mm. The depth is set as the swept parameter, and it is defined as the distance between the top surface of the epidermis layer and the top surface of the rectangular wire. &lt;br /&gt;
&lt;br /&gt;
[[File:results2_updated.png|600px|thumb|center| (a) Schematic of the geometry, where the FAD concentration inside the rectangular rod is lower, representing the dysplastic region. The depth of the rectangular wire is swept. (b) The dependence betweewn the depth of the dysplastic region and the fluorescence contrast signal. The red dashed line illustrates an exponential fitting of the simulation results. (c) The measured fluorescence signal for each depth value with an increasing depth from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that the fluorescence contrast signal decreases as the depth increases, which agrees with intuition. As for a deeper location inside the skin, it takes farther distance for the fluorescent light to travel out, therefore the distortion introduced by the scattering events as the light propagates through the skin tissue is stronger. In addition, the attenuation from both scattering and absorption is stronger as well, which further reduces the SNR. For depth greater than 0.1 mm, the contrast signal strength is nearly vanishing.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the FAD Concentration Difference ===&lt;br /&gt;
Similarly, the strength of the contrast signal should also be a function of the concentration difference of FAD between the dysplastic and the healthy tissue. The geometry is again defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm, the thickness to 0.1 mm, and the depth is set to 0.04 mm. The volumetric concentration of FAD in the healthy region is fixed to 0.2 while the FAD concentration in the dysplastic region is varied from 0 to 0.2. &lt;br /&gt;
&lt;br /&gt;
[[File:results32_updated.png|900px|thumb|center| (a,c) Schematic of the geometry, (a) has a shallower dysplastic region while it is deeper in (c). The FAD concentration inside the rectangular rod is swept. (b,d) The dependence betweewn the concentration difference and the fluorescence contrast signal. (c) The measured fluorescence signal for each concentration value with a decreasing concentration contrast from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that for 0.04 mm as the depth, the fluorescence contrast signal is linearly proportional to the FAD concentration difference, which again agrees with intuition. The concentration difference determines the distribution in the number of fluorescence emitter, which is equivalent to the source and directly proportional to the fluorescence intensity. When increasing the depth of the rectangular wire to 0.1 mm, again the linear dependence is shown however with an overall lower amplitude, representing the decrease in the number of fluorescence emitter.&lt;br /&gt;
&lt;br /&gt;
=== Image Quality and Simulation Limitations  ===&lt;br /&gt;
Optical Monte Carlo simulations, while powerful and versatile, are computationally demanding due to the nature of light propagation and the need to model a vast number of photon trajectories. The computational expense arises from the necessity to track individual photon interactions and their probabilistic behavior as they scatter, absorb, and move through the medium.  Modeling three-dimensional environments adds complexity, as simulations must account for photon movements in all spatial directions within the medium. To illustrate this, a regular high performance laptop were able to simulate about 10&amp;lt;math&amp;gt;^6&amp;lt;/math&amp;gt; photons per minute, while a 1mW light source at 400 nm emits 10&amp;lt;math&amp;gt;^{15}&amp;lt;/math&amp;gt; photons per second. This can be a problem when trying to model realistic scenarios with low signal to noise. Figure 5 shows a set of images of an embedded dysplastic lesion in healthy tissue, with varying number of simulated photons. The images corresponds to a total simulation time of 4, 40 and 400 minutes, respectively (half to acquire the absorption profile and half for the fluorescence signal).&lt;br /&gt;
&lt;br /&gt;
[[File:imagesAndSchematic.png|900px|thumb|center| a) Schematic of simulation. A 425nm LED is used as an excitation source and fluorescence is collected at 530nm. b) Image quality as a function of simulation number of photons simulated. Top) Collected images of an embedded dysplastic lesion inside healthy tissue. Bottom) Cross section of the image intensity.  ]]&lt;br /&gt;
&lt;br /&gt;
== Conclusions ==&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
1. Y. Xu et al. Optical Imaging in the Diagnosis of OPMDs Malignant Transformation, Journal of Dental Research 2022, Vol. 101(7) 749–758&lt;br /&gt;
&lt;br /&gt;
2. MCmatlab package and documentation: https://github.com/ankrh/MCmatlab&lt;br /&gt;
&lt;br /&gt;
3. Steven L Jacques Optical properties of biological tissues: a review, 2013 Phys. Med. Biol. 58 R37&lt;/div&gt;</summary>
		<author><name>Bohan</name></author>
	</entry>
	<entry>
		<id>http://vista.su.domains/psych221wiki/index.php?title=File:Simulation.png&amp;diff=34055</id>
		<title>File:Simulation.png</title>
		<link rel="alternate" type="text/html" href="http://vista.su.domains/psych221wiki/index.php?title=File:Simulation.png&amp;diff=34055"/>
		<updated>2023-12-18T18:44:26Z</updated>

		<summary type="html">&lt;p&gt;Bohan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Bohan</name></author>
	</entry>
	<entry>
		<id>http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=34046</id>
		<title>Medical imaging: Simulations of reflectance and fluorescence of human tissue</title>
		<link rel="alternate" type="text/html" href="http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=34046"/>
		<updated>2023-12-18T18:39:09Z</updated>

		<summary type="html">&lt;p&gt;Bohan: /* Optical Processes in Skin Tissue */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
Squamous dysplasia, a precursor to squamous cell carcinoma, represents a spectrum of histological alterations within the epithelium, characterized by abnormal cellular morphology and metabolism. Early identification is critical to prevent the progression to invasive carcinoma. Auto fluorescent imaging (AFI) has emerged as a promising non-invasive technique for the detection of squamous dysplasia. Flavin adenine dinucleotide (FAD), an essential co-factor in cellular oxidative metabolism, undergoes changes in concentration and redox state during dysplastic transformations. Studies indicate a correlation between dysplastic progression and altered FAD levels, leading to variations in tissue fluorescence&amp;lt;math&amp;gt;^1&amp;lt;/math&amp;gt;. Lower FAD concentrations in dysplastic areas manifest as decreased fluorescence intensity level, which in principle can be imaged with AFI.&lt;br /&gt;
&lt;br /&gt;
AFI uses the intrinsic fluorescent properties of endogenous molecules within tissues. Under appropriate excitation wavelengths, endogenous fluorophores emit light, providing real-time visualization of tissue morphology. The altered metabolic activity and subsequent changes in FAD concentrations in dysplastic tissues offer a distinct fluorescence pattern that is in principle discernible through AFI.&lt;br /&gt;
&lt;br /&gt;
In clinical settings, AFI demonstrates promise as a non-invasive tool for identifying early dysplastic lesions. Its ability to highlight subtle changes in tissue autofluorescence can aid in targeted biopsies and delineation of margins during surgical interventions. In this project, we explore imaging of dysplastic tissues by using optical Monte Carlo based fluorescence simulations. We identify qualitative trends of image quality with respect to dysplastic lesion size, depth, and fluorophore concentration change. Understanding how photons interact with fluorophores, the probability of excitation, and the emitted fluorescence intensity can assist in predicting and interpreting experimental fluorescence measurements.&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
[[File:optical.png|300px|right| thumb | The optical processes in skin tissue, including reflection, scattering, absorption, and fluorescence. ]]&lt;br /&gt;
&lt;br /&gt;
=== Optical Processes in Skin Tissue ===&lt;br /&gt;
&lt;br /&gt;
When shining light into the skin, there are multiple light-matter interaction processes happening simultaneously, including reflection, absorption, scattering, and fluorescence as depicted in the figure below. &lt;br /&gt;
&lt;br /&gt;
The key process in this study is fluorescence. When short wavelength photon is absorbed, the material will re-emit photon at a longer wavelength and smaller energy. In the epidermis layer of the skin tissue, there are two fluorescence molecules, FAD and NADH, which are related to metabolic activities of cells. By measuring the fluorescence activities, one can monitor the localized concentration of FAD and NADH in the epidermis layer, therefore acquiring early signs on potnetial dysplasia. To model the fluorescence activities in the epidermis layer, the fluorophore is assumed to be uniformly distributed in the epidermis layer as a solution while the dysplastic region can be regarded as some localized volume with a different concentration comparing to the surrounding medium. &lt;br /&gt;
&lt;br /&gt;
Reflection refers to the back-scatter of photon at the interface between different materials when the index of refraction changes. Since the main composition of human skin is water, the variation of index of refraction is minor therefore there is negligible amount of reflection inside human skin. The strongest reflection happens at the surface of skin where photon hits the skin tissue from air. This can result in a spectral reduction of the number of photons actually entering into the skin, which results in a reduction in the actual fluorescence signal strength. &lt;br /&gt;
&lt;br /&gt;
Absorption is an intrinsic property of light-matter interaction where the amplitude of electromagnetic field attenuates as propagating. The absorption in a solution can be quatitatively described using the Beer-Lambert law, where the intensity of light decay exponentially as it travels in the absorptive medium. The decay rate is characterized by the absorption coefficient &amp;lt;math&amp;gt; \mu_\alpha &amp;lt;/math&amp;gt; which is a function of the solvend absorpsivity and its concentration. In human skin tissue, the total amount of absorption can be decomposed into several different components, including absorption from water, fat, melanin, and blood content, which can be cast by an empirical equation [REF]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; mu_{\alpha} =BS\mu_{\alpha,oxy} + B (1-S) \mu_{\alpha,deoxy} + W\mu_{\alpha,water} + F\mu_{\alpha,fat} + M\mu_{\alpha,melanosome} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The scattering process refers to the change in the direction of motion when the photon interacts with the material (mainly the nuclei). In the actual scenario of fluorescence detection, the scattering process can result in two consequences including the attenuation of number of photons in the forward propagating direction, and introducing distortion to the localized signal. The second consequence is the critical factor of reducing the signal to noise ratio, as the localized signal from the dysplasia is smeared by the uncertain scattering processes.&lt;br /&gt;
&lt;br /&gt;
=== Simulation Congifuration ===&lt;br /&gt;
&lt;br /&gt;
== Methods ==&lt;br /&gt;
&lt;br /&gt;
=== Monte Carlo Simulation ===&lt;br /&gt;
&lt;br /&gt;
Monte Carlo simulations is a useful tool for modeling and understanding the intricate behaviors of light propagation through tissues. These simulations rely on probabilistic algorithms that simulate numerous random trajectories of photons within a medium, enabling the prediction and analysis of light transport in complex systems. These trajectories are based on scattering events and the optical properties of the medium. As photons travel, they undergo interactions, either scattering off structures within the tissue or getting absorbed. The simulations track the path lengths and angles of these photons, ultimately predicting the reflectance and absorption profiles. &lt;br /&gt;
&lt;br /&gt;
To simulate fluorescence, an initial simulation models the absorption of incident photons by fluorescent molecules like FAD or other fluorophores. The resulting absorption profile is then used as a source for fluorescent light of a different wavelength and the Monte Carlo algorithm is applied again.&lt;br /&gt;
&lt;br /&gt;
=== MCMatlab ===&lt;br /&gt;
&lt;br /&gt;
We decided to use MCmatlab based on a class project from last year, where it was implemented to simulate diffuse reflectance of different oxygenation levels for various skin types. &lt;br /&gt;
&lt;br /&gt;
In MCMatlab a medium is defined by specifying a set of parameters&amp;lt;math&amp;gt;^2&amp;lt;/math&amp;gt;. The relevant parameters in our simulation are: Absorption coefficient ‘&amp;lt;math&amp;gt;\mu_a&amp;lt;/math&amp;gt;’, Scattering coefficient ‘&amp;lt;math&amp;gt;\mu_s&amp;lt;/math&amp;gt;’, Emission spectrum ‘&amp;lt;math&amp;gt;\epsilon_{\lambda}&amp;lt;/math&amp;gt;’, Quantum yield &#039;QY&#039;, Henyey-Greenstein Scattering anisotropy factor ‘g’ and Refractive Index ‘n’. &lt;br /&gt;
&lt;br /&gt;
All quantities are a function of wavelength. The absorption coefficient is given in units of cm&amp;lt;math&amp;gt;^{-1}&amp;lt;/math&amp;gt;. The scattering coefficient is expressed as the fraction of photons getting scattered while traveling in a medium per unit distance. The emission spectrum describes the relative spectral power emitted for each wavelength. The quantum yield is defined as the number of photons emitted per absorbed photons. Henyey-Greenstein Scattering anisotropy factor has a value between 0 and 1 and  quantifies the degree of angular distribution in the scattering of photons within a medium. More concretely, g = 0 signifies purely isotropic scattering, indicating an equal probability of scattering in all directions while g = 1 represents completely forward-peaked scattering, indicating a strong preference for photons to be scattered in the forward direction. See referenced documentation for full details about all parameters. &lt;br /&gt;
&lt;br /&gt;
Relevant parameters for surrounding tissue of varying levels of blood, blood oxygenation, water and fat were extracted from Jacques&#039; work&amp;lt;math&amp;gt;^3&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Equivalent Model of Fluorophore Solution ===&lt;br /&gt;
When considering the optical response of the epidermis layer for blue light, absorption occurs both directly in FAD as well as in the rest of the tissue. In MCmatlab, a material can only be defined by a single absorption coefficient and emissivity spectrum. This presents a problem since absorption from surrounding tissue artificially contribute to FAD fluorescence in the model. Unfortunately,  this yields an unacceptable degree of inaccuracy as the overall absorption by the tissue is large compared to the absorption in FAD, due to its low concentration. In other words, the majority of the fluorescence would come from absorption in tissue which normally does not fluoresce. This also makes it hard to model subtle changes in FAD levels due to the strong artificial fluorescence background.&lt;br /&gt;
&lt;br /&gt;
[[File:model.png|500px|thumb|center|The multilayer model for fluorescence Monte Carlo simulation. ]]&lt;br /&gt;
&lt;br /&gt;
To solve this issue, we introduce a multilayer model where FAD molecules distributed in a volume is collected into thin planes spread across the volume (see Figure 1). By separating FAD from the rest of the tissue components, we can define two separate media in MCmatlab with their respective optical properties, avoiding the issue of artificial fluorescence. However, changing the geometry in this way will also affect the optical response. Below, we derive an expression to correct for the geometrical change. &lt;br /&gt;
&lt;br /&gt;
The total optical absorption can be described as:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \propto \int dV (-J)\cdot E = \int dV (-i\omega\varepsilon_0 \chi |E|^2) = \int dV \omega\varepsilon_0 \chi&#039;&#039; |E|^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;J&amp;lt;/math&amp;gt; is the current density, &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; is the electric field, &amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; is the angular frequency of light, &amp;lt;math&amp;gt; \varepsilon_0&amp;lt;/math&amp;gt;  is the free space electric permittivity, &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  is the material susceptibility, and &amp;lt;math&amp;gt;\chi&#039;&#039;&amp;lt;/math&amp;gt; is the imaginary part of &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  representing the optical absorption of a certain material. Under the representation of Beer-Lambert law, the electric field penetrating in the skin can be described as an exponential decay: &amp;lt;math&amp;gt; E = E_0 \exp(-\mu_\alpha z) &amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; is the material absorpsivity in the unit of [cm]&amp;lt;math&amp;gt;^{-1}&amp;lt;/math&amp;gt;. Substituting the exponentially decaying electric field into the absorption expression and applying our one-dimensional multilayer geometry: &lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \cong C \int_{0}^{L_z} dz \exp(-2\mu_\alpha z) = C\frac{1-\exp(-2\mu_\alpha L_z)}{2\mu_\alpha} &amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;L_z&amp;lt;/math&amp;gt; is the total length in z direction. &lt;br /&gt;
&lt;br /&gt;
For convenience, one can also define the ratiometric absorbance: &amp;lt;math&amp;gt; A = -\log(\frac{I_d}{I_0}) = \mu_\alpha L_z &amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
To have the same amount of absorption in the fluorophore when using the multilayer model, we need to equivalently adjust the optical property &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; of the material to balance the effect of shrinking the volume occupied by the fluorophore. Gathering the fluorophore into a thin slab of thickness &amp;lt;math&amp;gt;\Delta{z} &amp;lt;/math&amp;gt;, the absorbance here is: &amp;lt;math&amp;gt; A= \mu_\alpha&#039; \Delta{z}&amp;lt;/math&amp;gt;. Therefore one can increase the absorption coefficient to compensate for the reduced volume. This hold true as long as the field variation across the sub-volume is linear. When &amp;lt;math&amp;gt;\mu_\alpha L_z\ll1&amp;lt;/math&amp;gt;, the field decay is approximately linear for a small change in z: &amp;lt;math&amp;gt;\exp(-\mu_\alpha&#039;z) \approx 1-\mu_\alpha&#039;z &amp;lt;/math&amp;gt; for small z. Thus, we can always compensate the change in geometry by choosing a sufficiently small spacing between the thin planes relative to the absorptivity of the material.&lt;br /&gt;
&lt;br /&gt;
Using the equivalent absorpsivity correction, the total absorption is the same. In addition, the blue photon absorbed by FAD will result in the fluorescence emission, such that the correct FAD fluorescence activity can be simulated.&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
&lt;br /&gt;
The properties of the dysplastic region directly determines the fluorescence signal. Here, the properties refer to the geometry size, shape, the fluorophore concentration, and the location inside the skin tissue. Below, we will carry out a few computational and numerical experiments to qualitatively describe the dependence between the fluorescence signal strength and these factors. The simulation is conducted based on MCMatlab Fluorescence Monte Carlo simulation package. &lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Width ===&lt;br /&gt;
[[File:results1_updated.png|900px|thumb|center| (a) Schematic of the geometry, which is defined as a one-dimensional variation in FAD concentration with a low concentration at the central part representing the dysplastic region. (b) The actual fluorescence signal measured as a function of x position. The contrast signal is extracted as the ratio between the magnitude of the dip and the maximum signal level. (c) The dependence betweewn the width of the dysplastic region and the fluorescence contrast signal. (d) The measured fluorescence signal for each width value with an increasing width from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
For the first study, the simulated geometry is defined as a one-dimensional concentration variation in &amp;quot;x&amp;quot; as shown in the figure above with a lower FAD concentration at the central region representing the dysplastic region. The width of the dysplastic region is swept and the output fluorescence contrast signal is measured. It is shown that the contrast signal first goes up, then saturates at w~0.35 mm. At small width values, the signals are mixed up from the two edges where the concentration changes sharply, so that one cannot resolve the full contrast signal. When the two edges are separated sufficiently far, the full signal can be resolved, giving a relative fluorescence contrast as 0.3.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Depth ===&lt;br /&gt;
Next, the qualitative relation is studied between the depth of the dysplastic region inside the skin and the fluorescence contrast signal. In this case, the geometry is defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm and the thickness to 0.1 mm. The depth is set as the swept parameter, and it is defined as the distance between the top surface of the epidermis layer and the top surface of the rectangular wire. &lt;br /&gt;
&lt;br /&gt;
[[File:results2_updated.png|600px|thumb|center| (a) Schematic of the geometry, where the FAD concentration inside the rectangular rod is lower, representing the dysplastic region. The depth of the rectangular wire is swept. (b) The dependence betweewn the depth of the dysplastic region and the fluorescence contrast signal. The red dashed line illustrates an exponential fitting of the simulation results. (c) The measured fluorescence signal for each depth value with an increasing depth from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that the fluorescence contrast signal decreases as the depth increases, which agrees with intuition. As for a deeper location inside the skin, it takes farther distance for the fluorescent light to travel out, therefore the distortion introduced by the scattering events as the light propagates through the skin tissue is stronger. In addition, the attenuation from both scattering and absorption is stronger as well, which further reduces the SNR. For depth greater than 0.1 mm, the contrast signal strength is nearly vanishing.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the FAD Concentration Difference ===&lt;br /&gt;
Similarly, the strength of the contrast signal should also be a function of the concentration difference of FAD between the dysplastic and the healthy tissue. The geometry is again defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm, the thickness to 0.1 mm, and the depth is set to 0.04 mm. The volumetric concentration of FAD in the healthy region is fixed to 0.2 while the FAD concentration in the dysplastic region is varied from 0 to 0.2. &lt;br /&gt;
&lt;br /&gt;
[[File:results32_updated.png|900px|thumb|center| (a,c) Schematic of the geometry, (a) has a shallower dysplastic region while it is deeper in (c). The FAD concentration inside the rectangular rod is swept. (b,d) The dependence betweewn the concentration difference and the fluorescence contrast signal. (c) The measured fluorescence signal for each concentration value with a decreasing concentration contrast from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that for 0.04 mm as the depth, the fluorescence contrast signal is linearly proportional to the FAD concentration difference, which again agrees with intuition. The concentration difference determines the distribution in the number of fluorescence emitter, which is equivalent to the source and directly proportional to the fluorescence intensity. When increasing the depth of the rectangular wire to 0.1 mm, again the linear dependence is shown however with an overall lower amplitude, representing the decrease in the number of fluorescence emitter.&lt;br /&gt;
&lt;br /&gt;
=== Image Quality and Simulation Limitations  ===&lt;br /&gt;
Optical Monte Carlo simulations, while powerful and versatile, are computationally demanding due to the nature of light propagation and the need to model a vast number of photon trajectories. The computational expense arises from the necessity to track individual photon interactions and their probabilistic behavior as they scatter, absorb, and move through the medium.  Modeling three-dimensional environments adds complexity, as simulations must account for photon movements in all spatial directions within the medium. To illustrate this, a regular high performance laptop were able to simulate about 10&amp;lt;math&amp;gt;^6&amp;lt;/math&amp;gt; photons per minute, while a 1mW light source at 400 nm emits 10&amp;lt;math&amp;gt;^{15}&amp;lt;/math&amp;gt; photons per second. This can be a problem when trying to model realistic scenarios with low signal to noise. Figure 5 shows a set of images of an embedded dysplastic lesion in healthy tissue, with varying number of simulated photons. The images corresponds to a total simulation time of 4, 40 and 400 minutes, respectively (half to acquire the absorption profile and half for the fluorescence signal).&lt;br /&gt;
&lt;br /&gt;
[[File:imagesAndSchematic.png|900px|thumb|center| a) Schematic of simulation. A 425nm LED is used as an excitation source and fluorescence is collected at 530nm. b) Image quality as a function of simulation number of photons simulated. Top) Collected images of an embedded dysplastic lesion inside healthy tissue. Bottom) Cross section of the image intensity.  ]]&lt;br /&gt;
&lt;br /&gt;
== Conclusions ==&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
1. Y. Xu et al. Optical Imaging in the Diagnosis of OPMDs Malignant Transformation, Journal of Dental Research 2022, Vol. 101(7) 749–758&lt;br /&gt;
&lt;br /&gt;
2. MCmatlab package and documentation: https://github.com/ankrh/MCmatlab&lt;br /&gt;
&lt;br /&gt;
3. Steven L Jacques Optical properties of biological tissues: a review, 2013 Phys. Med. Biol. 58 R37&lt;/div&gt;</summary>
		<author><name>Bohan</name></author>
	</entry>
	<entry>
		<id>http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=34045</id>
		<title>Medical imaging: Simulations of reflectance and fluorescence of human tissue</title>
		<link rel="alternate" type="text/html" href="http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=34045"/>
		<updated>2023-12-18T18:38:24Z</updated>

		<summary type="html">&lt;p&gt;Bohan: /* Appendix */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
Squamous dysplasia, a precursor to squamous cell carcinoma, represents a spectrum of histological alterations within the epithelium, characterized by abnormal cellular morphology and metabolism. Early identification is critical to prevent the progression to invasive carcinoma. Auto fluorescent imaging (AFI) has emerged as a promising non-invasive technique for the detection of squamous dysplasia. Flavin adenine dinucleotide (FAD), an essential co-factor in cellular oxidative metabolism, undergoes changes in concentration and redox state during dysplastic transformations. Studies indicate a correlation between dysplastic progression and altered FAD levels, leading to variations in tissue fluorescence&amp;lt;math&amp;gt;^1&amp;lt;/math&amp;gt;. Lower FAD concentrations in dysplastic areas manifest as decreased fluorescence intensity level, which in principle can be imaged with AFI.&lt;br /&gt;
&lt;br /&gt;
AFI uses the intrinsic fluorescent properties of endogenous molecules within tissues. Under appropriate excitation wavelengths, endogenous fluorophores emit light, providing real-time visualization of tissue morphology. The altered metabolic activity and subsequent changes in FAD concentrations in dysplastic tissues offer a distinct fluorescence pattern that is in principle discernible through AFI.&lt;br /&gt;
&lt;br /&gt;
In clinical settings, AFI demonstrates promise as a non-invasive tool for identifying early dysplastic lesions. Its ability to highlight subtle changes in tissue autofluorescence can aid in targeted biopsies and delineation of margins during surgical interventions. In this project, we explore imaging of dysplastic tissues by using optical Monte Carlo based fluorescence simulations. We identify qualitative trends of image quality with respect to dysplastic lesion size, depth, and fluorophore concentration change. Understanding how photons interact with fluorophores, the probability of excitation, and the emitted fluorescence intensity can assist in predicting and interpreting experimental fluorescence measurements.&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
[[File:optical.png|300px|right| thumb | The optical processes in skin tissue, including reflection, scattering, absorption, and fluorescence. ]]&lt;br /&gt;
&lt;br /&gt;
=== Optical Processes in Skin Tissue ===&lt;br /&gt;
&lt;br /&gt;
When shining light into the skin, there are multiple light-matter interaction processes happening simultaneously, including reflection, absorption, scattering, and fluorescence as depicted in the figure below. &lt;br /&gt;
&lt;br /&gt;
The key process in this study is fluorescence. When short wavelength photon is absorbed, the material will re-emit photon at a longer wavelength and smaller energy. In the epidermis layer of the skin tissue, there are two fluorescence molecules, FAD and NADH, which are related to metabolic activities of cells. By measuring the fluorescence activities, one can monitor the localized concentration of FAD and NADH in the epidermis layer, therefore acquiring early signs on potnetial dysplasia. To model the fluorescence activities in the epidermis layer, the fluorophore is assumed to be uniformly distributed in the epidermis layer as a solution while the dysplastic region can be regarded as some localized volume with a different concentration comparing to the surrounding medium. &lt;br /&gt;
&lt;br /&gt;
Reflection refers to the back-scatter of photon at the interface between different materials when the index of refraction changes. Since the main composition of human skin is water, the variation of index of refraction is minor therefore there is negligible amount of reflection inside human skin. The strongest reflection happens at the surface of skin where photon hits the skin tissue from air. This can result in a spectral reduction of the number of photons actually entering into the skin, which results in a reduction in the actual fluorescence signal strength. &lt;br /&gt;
&lt;br /&gt;
Absorption is an intrinsic property of light-matter interaction where the amplitude of electromagnetic field attenuates as propagating. The absorption in a solution can be quatitatively described using the Beer-Lambert law, where the intensity of light decay exponentially as it travels in the absorptive medium. The decay rate is characterized by the absorption coefficient &amp;lt;math&amp;gt; \mu_\alpha &amp;lt;/math&amp;gt; which is a function of the solvend absorpsivity and its concentration. In human skin tissue, the total amount of absorption can be decomposed into several different components, including absorption from water, fat, melanin, and blood content, which can be cast by an empirical equation [REF]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; mu_{\alpha} =BS\mu_{\alpha,oxy} + B (1-S) \mu_{\alpha,deoxy} + W\mu_{\alpha,water} + F\mu_{\alpha,fat} + M\mu_{\alpha,melanosome} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The scattering process refers to the change in the direction of motion when the photon interacts with the material (mainly the nuclei). In the actual scenario of fluorescence detection, the scattering process can result in two consequences including the attenuation of number of photons in the forward propagating direction, and introducing distortion to the localized signal. The second consequence is the critical factor of reducing the signal to noise ratio, as the localized signal from the dysplasia is smeared by the uncertain scattering processes.&lt;br /&gt;
&lt;br /&gt;
== Methods ==&lt;br /&gt;
&lt;br /&gt;
=== Monte Carlo Simulation ===&lt;br /&gt;
&lt;br /&gt;
Monte Carlo simulations is a useful tool for modeling and understanding the intricate behaviors of light propagation through tissues. These simulations rely on probabilistic algorithms that simulate numerous random trajectories of photons within a medium, enabling the prediction and analysis of light transport in complex systems. These trajectories are based on scattering events and the optical properties of the medium. As photons travel, they undergo interactions, either scattering off structures within the tissue or getting absorbed. The simulations track the path lengths and angles of these photons, ultimately predicting the reflectance and absorption profiles. &lt;br /&gt;
&lt;br /&gt;
To simulate fluorescence, an initial simulation models the absorption of incident photons by fluorescent molecules like FAD or other fluorophores. The resulting absorption profile is then used as a source for fluorescent light of a different wavelength and the Monte Carlo algorithm is applied again.&lt;br /&gt;
&lt;br /&gt;
=== MCMatlab ===&lt;br /&gt;
&lt;br /&gt;
We decided to use MCmatlab based on a class project from last year, where it was implemented to simulate diffuse reflectance of different oxygenation levels for various skin types. &lt;br /&gt;
&lt;br /&gt;
In MCMatlab a medium is defined by specifying a set of parameters&amp;lt;math&amp;gt;^2&amp;lt;/math&amp;gt;. The relevant parameters in our simulation are: Absorption coefficient ‘&amp;lt;math&amp;gt;\mu_a&amp;lt;/math&amp;gt;’, Scattering coefficient ‘&amp;lt;math&amp;gt;\mu_s&amp;lt;/math&amp;gt;’, Emission spectrum ‘&amp;lt;math&amp;gt;\epsilon_{\lambda}&amp;lt;/math&amp;gt;’, Quantum yield &#039;QY&#039;, Henyey-Greenstein Scattering anisotropy factor ‘g’ and Refractive Index ‘n’. &lt;br /&gt;
&lt;br /&gt;
All quantities are a function of wavelength. The absorption coefficient is given in units of cm&amp;lt;math&amp;gt;^{-1}&amp;lt;/math&amp;gt;. The scattering coefficient is expressed as the fraction of photons getting scattered while traveling in a medium per unit distance. The emission spectrum describes the relative spectral power emitted for each wavelength. The quantum yield is defined as the number of photons emitted per absorbed photons. Henyey-Greenstein Scattering anisotropy factor has a value between 0 and 1 and  quantifies the degree of angular distribution in the scattering of photons within a medium. More concretely, g = 0 signifies purely isotropic scattering, indicating an equal probability of scattering in all directions while g = 1 represents completely forward-peaked scattering, indicating a strong preference for photons to be scattered in the forward direction. See referenced documentation for full details about all parameters. &lt;br /&gt;
&lt;br /&gt;
Relevant parameters for surrounding tissue of varying levels of blood, blood oxygenation, water and fat were extracted from Jacques&#039; work&amp;lt;math&amp;gt;^3&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Equivalent Model of Fluorophore Solution ===&lt;br /&gt;
When considering the optical response of the epidermis layer for blue light, absorption occurs both directly in FAD as well as in the rest of the tissue. In MCmatlab, a material can only be defined by a single absorption coefficient and emissivity spectrum. This presents a problem since absorption from surrounding tissue artificially contribute to FAD fluorescence in the model. Unfortunately,  this yields an unacceptable degree of inaccuracy as the overall absorption by the tissue is large compared to the absorption in FAD, due to its low concentration. In other words, the majority of the fluorescence would come from absorption in tissue which normally does not fluoresce. This also makes it hard to model subtle changes in FAD levels due to the strong artificial fluorescence background.&lt;br /&gt;
&lt;br /&gt;
[[File:model.png|500px|thumb|center|The multilayer model for fluorescence Monte Carlo simulation. ]]&lt;br /&gt;
&lt;br /&gt;
To solve this issue, we introduce a multilayer model where FAD molecules distributed in a volume is collected into thin planes spread across the volume (see Figure 1). By separating FAD from the rest of the tissue components, we can define two separate media in MCmatlab with their respective optical properties, avoiding the issue of artificial fluorescence. However, changing the geometry in this way will also affect the optical response. Below, we derive an expression to correct for the geometrical change. &lt;br /&gt;
&lt;br /&gt;
The total optical absorption can be described as:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \propto \int dV (-J)\cdot E = \int dV (-i\omega\varepsilon_0 \chi |E|^2) = \int dV \omega\varepsilon_0 \chi&#039;&#039; |E|^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;J&amp;lt;/math&amp;gt; is the current density, &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; is the electric field, &amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; is the angular frequency of light, &amp;lt;math&amp;gt; \varepsilon_0&amp;lt;/math&amp;gt;  is the free space electric permittivity, &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  is the material susceptibility, and &amp;lt;math&amp;gt;\chi&#039;&#039;&amp;lt;/math&amp;gt; is the imaginary part of &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  representing the optical absorption of a certain material. Under the representation of Beer-Lambert law, the electric field penetrating in the skin can be described as an exponential decay: &amp;lt;math&amp;gt; E = E_0 \exp(-\mu_\alpha z) &amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; is the material absorpsivity in the unit of [cm]&amp;lt;math&amp;gt;^{-1}&amp;lt;/math&amp;gt;. Substituting the exponentially decaying electric field into the absorption expression and applying our one-dimensional multilayer geometry: &lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \cong C \int_{0}^{L_z} dz \exp(-2\mu_\alpha z) = C\frac{1-\exp(-2\mu_\alpha L_z)}{2\mu_\alpha} &amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;L_z&amp;lt;/math&amp;gt; is the total length in z direction. &lt;br /&gt;
&lt;br /&gt;
For convenience, one can also define the ratiometric absorbance: &amp;lt;math&amp;gt; A = -\log(\frac{I_d}{I_0}) = \mu_\alpha L_z &amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
To have the same amount of absorption in the fluorophore when using the multilayer model, we need to equivalently adjust the optical property &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; of the material to balance the effect of shrinking the volume occupied by the fluorophore. Gathering the fluorophore into a thin slab of thickness &amp;lt;math&amp;gt;\Delta{z} &amp;lt;/math&amp;gt;, the absorbance here is: &amp;lt;math&amp;gt; A= \mu_\alpha&#039; \Delta{z}&amp;lt;/math&amp;gt;. Therefore one can increase the absorption coefficient to compensate for the reduced volume. This hold true as long as the field variation across the sub-volume is linear. When &amp;lt;math&amp;gt;\mu_\alpha L_z\ll1&amp;lt;/math&amp;gt;, the field decay is approximately linear for a small change in z: &amp;lt;math&amp;gt;\exp(-\mu_\alpha&#039;z) \approx 1-\mu_\alpha&#039;z &amp;lt;/math&amp;gt; for small z. Thus, we can always compensate the change in geometry by choosing a sufficiently small spacing between the thin planes relative to the absorptivity of the material.&lt;br /&gt;
&lt;br /&gt;
Using the equivalent absorpsivity correction, the total absorption is the same. In addition, the blue photon absorbed by FAD will result in the fluorescence emission, such that the correct FAD fluorescence activity can be simulated.&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
&lt;br /&gt;
The properties of the dysplastic region directly determines the fluorescence signal. Here, the properties refer to the geometry size, shape, the fluorophore concentration, and the location inside the skin tissue. Below, we will carry out a few computational and numerical experiments to qualitatively describe the dependence between the fluorescence signal strength and these factors. The simulation is conducted based on MCMatlab Fluorescence Monte Carlo simulation package. &lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Width ===&lt;br /&gt;
[[File:results1_updated.png|900px|thumb|center| (a) Schematic of the geometry, which is defined as a one-dimensional variation in FAD concentration with a low concentration at the central part representing the dysplastic region. (b) The actual fluorescence signal measured as a function of x position. The contrast signal is extracted as the ratio between the magnitude of the dip and the maximum signal level. (c) The dependence betweewn the width of the dysplastic region and the fluorescence contrast signal. (d) The measured fluorescence signal for each width value with an increasing width from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
For the first study, the simulated geometry is defined as a one-dimensional concentration variation in &amp;quot;x&amp;quot; as shown in the figure above with a lower FAD concentration at the central region representing the dysplastic region. The width of the dysplastic region is swept and the output fluorescence contrast signal is measured. It is shown that the contrast signal first goes up, then saturates at w~0.35 mm. At small width values, the signals are mixed up from the two edges where the concentration changes sharply, so that one cannot resolve the full contrast signal. When the two edges are separated sufficiently far, the full signal can be resolved, giving a relative fluorescence contrast as 0.3.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Depth ===&lt;br /&gt;
Next, the qualitative relation is studied between the depth of the dysplastic region inside the skin and the fluorescence contrast signal. In this case, the geometry is defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm and the thickness to 0.1 mm. The depth is set as the swept parameter, and it is defined as the distance between the top surface of the epidermis layer and the top surface of the rectangular wire. &lt;br /&gt;
&lt;br /&gt;
[[File:results2_updated.png|600px|thumb|center| (a) Schematic of the geometry, where the FAD concentration inside the rectangular rod is lower, representing the dysplastic region. The depth of the rectangular wire is swept. (b) The dependence betweewn the depth of the dysplastic region and the fluorescence contrast signal. The red dashed line illustrates an exponential fitting of the simulation results. (c) The measured fluorescence signal for each depth value with an increasing depth from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that the fluorescence contrast signal decreases as the depth increases, which agrees with intuition. As for a deeper location inside the skin, it takes farther distance for the fluorescent light to travel out, therefore the distortion introduced by the scattering events as the light propagates through the skin tissue is stronger. In addition, the attenuation from both scattering and absorption is stronger as well, which further reduces the SNR. For depth greater than 0.1 mm, the contrast signal strength is nearly vanishing.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the FAD Concentration Difference ===&lt;br /&gt;
Similarly, the strength of the contrast signal should also be a function of the concentration difference of FAD between the dysplastic and the healthy tissue. The geometry is again defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm, the thickness to 0.1 mm, and the depth is set to 0.04 mm. The volumetric concentration of FAD in the healthy region is fixed to 0.2 while the FAD concentration in the dysplastic region is varied from 0 to 0.2. &lt;br /&gt;
&lt;br /&gt;
[[File:results32_updated.png|900px|thumb|center| (a,c) Schematic of the geometry, (a) has a shallower dysplastic region while it is deeper in (c). The FAD concentration inside the rectangular rod is swept. (b,d) The dependence betweewn the concentration difference and the fluorescence contrast signal. (c) The measured fluorescence signal for each concentration value with a decreasing concentration contrast from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that for 0.04 mm as the depth, the fluorescence contrast signal is linearly proportional to the FAD concentration difference, which again agrees with intuition. The concentration difference determines the distribution in the number of fluorescence emitter, which is equivalent to the source and directly proportional to the fluorescence intensity. When increasing the depth of the rectangular wire to 0.1 mm, again the linear dependence is shown however with an overall lower amplitude, representing the decrease in the number of fluorescence emitter.&lt;br /&gt;
&lt;br /&gt;
=== Image Quality and Simulation Limitations  ===&lt;br /&gt;
Optical Monte Carlo simulations, while powerful and versatile, are computationally demanding due to the nature of light propagation and the need to model a vast number of photon trajectories. The computational expense arises from the necessity to track individual photon interactions and their probabilistic behavior as they scatter, absorb, and move through the medium.  Modeling three-dimensional environments adds complexity, as simulations must account for photon movements in all spatial directions within the medium. To illustrate this, a regular high performance laptop were able to simulate about 10&amp;lt;math&amp;gt;^6&amp;lt;/math&amp;gt; photons per minute, while a 1mW light source at 400 nm emits 10&amp;lt;math&amp;gt;^{15}&amp;lt;/math&amp;gt; photons per second. This can be a problem when trying to model realistic scenarios with low signal to noise. Figure 5 shows a set of images of an embedded dysplastic lesion in healthy tissue, with varying number of simulated photons. The images corresponds to a total simulation time of 4, 40 and 400 minutes, respectively (half to acquire the absorption profile and half for the fluorescence signal).&lt;br /&gt;
&lt;br /&gt;
[[File:imagesAndSchematic.png|900px|thumb|center| a) Schematic of simulation. A 425nm LED is used as an excitation source and fluorescence is collected at 530nm. b) Image quality as a function of simulation number of photons simulated. Top) Collected images of an embedded dysplastic lesion inside healthy tissue. Bottom) Cross section of the image intensity.  ]]&lt;br /&gt;
&lt;br /&gt;
== Conclusions ==&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
1. Y. Xu et al. Optical Imaging in the Diagnosis of OPMDs Malignant Transformation, Journal of Dental Research 2022, Vol. 101(7) 749–758&lt;br /&gt;
&lt;br /&gt;
2. MCmatlab package and documentation: https://github.com/ankrh/MCmatlab&lt;br /&gt;
&lt;br /&gt;
3. Steven L Jacques Optical properties of biological tissues: a review, 2013 Phys. Med. Biol. 58 R37&lt;/div&gt;</summary>
		<author><name>Bohan</name></author>
	</entry>
	<entry>
		<id>http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=34044</id>
		<title>Medical imaging: Simulations of reflectance and fluorescence of human tissue</title>
		<link rel="alternate" type="text/html" href="http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=34044"/>
		<updated>2023-12-18T18:37:52Z</updated>

		<summary type="html">&lt;p&gt;Bohan: /* Equivalent Model of Fluorophore Solution */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
Squamous dysplasia, a precursor to squamous cell carcinoma, represents a spectrum of histological alterations within the epithelium, characterized by abnormal cellular morphology and metabolism. Early identification is critical to prevent the progression to invasive carcinoma. Auto fluorescent imaging (AFI) has emerged as a promising non-invasive technique for the detection of squamous dysplasia. Flavin adenine dinucleotide (FAD), an essential co-factor in cellular oxidative metabolism, undergoes changes in concentration and redox state during dysplastic transformations. Studies indicate a correlation between dysplastic progression and altered FAD levels, leading to variations in tissue fluorescence&amp;lt;math&amp;gt;^1&amp;lt;/math&amp;gt;. Lower FAD concentrations in dysplastic areas manifest as decreased fluorescence intensity level, which in principle can be imaged with AFI.&lt;br /&gt;
&lt;br /&gt;
AFI uses the intrinsic fluorescent properties of endogenous molecules within tissues. Under appropriate excitation wavelengths, endogenous fluorophores emit light, providing real-time visualization of tissue morphology. The altered metabolic activity and subsequent changes in FAD concentrations in dysplastic tissues offer a distinct fluorescence pattern that is in principle discernible through AFI.&lt;br /&gt;
&lt;br /&gt;
In clinical settings, AFI demonstrates promise as a non-invasive tool for identifying early dysplastic lesions. Its ability to highlight subtle changes in tissue autofluorescence can aid in targeted biopsies and delineation of margins during surgical interventions. In this project, we explore imaging of dysplastic tissues by using optical Monte Carlo based fluorescence simulations. We identify qualitative trends of image quality with respect to dysplastic lesion size, depth, and fluorophore concentration change. Understanding how photons interact with fluorophores, the probability of excitation, and the emitted fluorescence intensity can assist in predicting and interpreting experimental fluorescence measurements.&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
[[File:optical.png|300px|right| thumb | The optical processes in skin tissue, including reflection, scattering, absorption, and fluorescence. ]]&lt;br /&gt;
&lt;br /&gt;
=== Optical Processes in Skin Tissue ===&lt;br /&gt;
&lt;br /&gt;
When shining light into the skin, there are multiple light-matter interaction processes happening simultaneously, including reflection, absorption, scattering, and fluorescence as depicted in the figure below. &lt;br /&gt;
&lt;br /&gt;
The key process in this study is fluorescence. When short wavelength photon is absorbed, the material will re-emit photon at a longer wavelength and smaller energy. In the epidermis layer of the skin tissue, there are two fluorescence molecules, FAD and NADH, which are related to metabolic activities of cells. By measuring the fluorescence activities, one can monitor the localized concentration of FAD and NADH in the epidermis layer, therefore acquiring early signs on potnetial dysplasia. To model the fluorescence activities in the epidermis layer, the fluorophore is assumed to be uniformly distributed in the epidermis layer as a solution while the dysplastic region can be regarded as some localized volume with a different concentration comparing to the surrounding medium. &lt;br /&gt;
&lt;br /&gt;
Reflection refers to the back-scatter of photon at the interface between different materials when the index of refraction changes. Since the main composition of human skin is water, the variation of index of refraction is minor therefore there is negligible amount of reflection inside human skin. The strongest reflection happens at the surface of skin where photon hits the skin tissue from air. This can result in a spectral reduction of the number of photons actually entering into the skin, which results in a reduction in the actual fluorescence signal strength. &lt;br /&gt;
&lt;br /&gt;
Absorption is an intrinsic property of light-matter interaction where the amplitude of electromagnetic field attenuates as propagating. The absorption in a solution can be quatitatively described using the Beer-Lambert law, where the intensity of light decay exponentially as it travels in the absorptive medium. The decay rate is characterized by the absorption coefficient &amp;lt;math&amp;gt; \mu_\alpha &amp;lt;/math&amp;gt; which is a function of the solvend absorpsivity and its concentration. In human skin tissue, the total amount of absorption can be decomposed into several different components, including absorption from water, fat, melanin, and blood content, which can be cast by an empirical equation [REF]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; mu_{\alpha} =BS\mu_{\alpha,oxy} + B (1-S) \mu_{\alpha,deoxy} + W\mu_{\alpha,water} + F\mu_{\alpha,fat} + M\mu_{\alpha,melanosome} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The scattering process refers to the change in the direction of motion when the photon interacts with the material (mainly the nuclei). In the actual scenario of fluorescence detection, the scattering process can result in two consequences including the attenuation of number of photons in the forward propagating direction, and introducing distortion to the localized signal. The second consequence is the critical factor of reducing the signal to noise ratio, as the localized signal from the dysplasia is smeared by the uncertain scattering processes.&lt;br /&gt;
&lt;br /&gt;
== Methods ==&lt;br /&gt;
&lt;br /&gt;
=== Monte Carlo Simulation ===&lt;br /&gt;
&lt;br /&gt;
Monte Carlo simulations is a useful tool for modeling and understanding the intricate behaviors of light propagation through tissues. These simulations rely on probabilistic algorithms that simulate numerous random trajectories of photons within a medium, enabling the prediction and analysis of light transport in complex systems. These trajectories are based on scattering events and the optical properties of the medium. As photons travel, they undergo interactions, either scattering off structures within the tissue or getting absorbed. The simulations track the path lengths and angles of these photons, ultimately predicting the reflectance and absorption profiles. &lt;br /&gt;
&lt;br /&gt;
To simulate fluorescence, an initial simulation models the absorption of incident photons by fluorescent molecules like FAD or other fluorophores. The resulting absorption profile is then used as a source for fluorescent light of a different wavelength and the Monte Carlo algorithm is applied again.&lt;br /&gt;
&lt;br /&gt;
=== MCMatlab ===&lt;br /&gt;
&lt;br /&gt;
We decided to use MCmatlab based on a class project from last year, where it was implemented to simulate diffuse reflectance of different oxygenation levels for various skin types. &lt;br /&gt;
&lt;br /&gt;
In MCMatlab a medium is defined by specifying a set of parameters&amp;lt;math&amp;gt;^2&amp;lt;/math&amp;gt;. The relevant parameters in our simulation are: Absorption coefficient ‘&amp;lt;math&amp;gt;\mu_a&amp;lt;/math&amp;gt;’, Scattering coefficient ‘&amp;lt;math&amp;gt;\mu_s&amp;lt;/math&amp;gt;’, Emission spectrum ‘&amp;lt;math&amp;gt;\epsilon_{\lambda}&amp;lt;/math&amp;gt;’, Quantum yield &#039;QY&#039;, Henyey-Greenstein Scattering anisotropy factor ‘g’ and Refractive Index ‘n’. &lt;br /&gt;
&lt;br /&gt;
All quantities are a function of wavelength. The absorption coefficient is given in units of cm&amp;lt;math&amp;gt;^{-1}&amp;lt;/math&amp;gt;. The scattering coefficient is expressed as the fraction of photons getting scattered while traveling in a medium per unit distance. The emission spectrum describes the relative spectral power emitted for each wavelength. The quantum yield is defined as the number of photons emitted per absorbed photons. Henyey-Greenstein Scattering anisotropy factor has a value between 0 and 1 and  quantifies the degree of angular distribution in the scattering of photons within a medium. More concretely, g = 0 signifies purely isotropic scattering, indicating an equal probability of scattering in all directions while g = 1 represents completely forward-peaked scattering, indicating a strong preference for photons to be scattered in the forward direction. See referenced documentation for full details about all parameters. &lt;br /&gt;
&lt;br /&gt;
Relevant parameters for surrounding tissue of varying levels of blood, blood oxygenation, water and fat were extracted from Jacques&#039; work&amp;lt;math&amp;gt;^3&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Equivalent Model of Fluorophore Solution ===&lt;br /&gt;
When considering the optical response of the epidermis layer for blue light, absorption occurs both directly in FAD as well as in the rest of the tissue. In MCmatlab, a material can only be defined by a single absorption coefficient and emissivity spectrum. This presents a problem since absorption from surrounding tissue artificially contribute to FAD fluorescence in the model. Unfortunately,  this yields an unacceptable degree of inaccuracy as the overall absorption by the tissue is large compared to the absorption in FAD, due to its low concentration. In other words, the majority of the fluorescence would come from absorption in tissue which normally does not fluoresce. This also makes it hard to model subtle changes in FAD levels due to the strong artificial fluorescence background.&lt;br /&gt;
&lt;br /&gt;
[[File:model.png|500px|thumb|center|The multilayer model for fluorescence Monte Carlo simulation. ]]&lt;br /&gt;
&lt;br /&gt;
To solve this issue, we introduce a multilayer model where FAD molecules distributed in a volume is collected into thin planes spread across the volume (see Figure 1). By separating FAD from the rest of the tissue components, we can define two separate media in MCmatlab with their respective optical properties, avoiding the issue of artificial fluorescence. However, changing the geometry in this way will also affect the optical response. Below, we derive an expression to correct for the geometrical change. &lt;br /&gt;
&lt;br /&gt;
The total optical absorption can be described as:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \propto \int dV (-J)\cdot E = \int dV (-i\omega\varepsilon_0 \chi |E|^2) = \int dV \omega\varepsilon_0 \chi&#039;&#039; |E|^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;J&amp;lt;/math&amp;gt; is the current density, &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; is the electric field, &amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; is the angular frequency of light, &amp;lt;math&amp;gt; \varepsilon_0&amp;lt;/math&amp;gt;  is the free space electric permittivity, &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  is the material susceptibility, and &amp;lt;math&amp;gt;\chi&#039;&#039;&amp;lt;/math&amp;gt; is the imaginary part of &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  representing the optical absorption of a certain material. Under the representation of Beer-Lambert law, the electric field penetrating in the skin can be described as an exponential decay: &amp;lt;math&amp;gt; E = E_0 \exp(-\mu_\alpha z) &amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; is the material absorpsivity in the unit of [cm]&amp;lt;math&amp;gt;^{-1}&amp;lt;/math&amp;gt;. Substituting the exponentially decaying electric field into the absorption expression and applying our one-dimensional multilayer geometry: &lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \cong C \int_{0}^{L_z} dz \exp(-2\mu_\alpha z) = C\frac{1-\exp(-2\mu_\alpha L_z)}{2\mu_\alpha} &amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;L_z&amp;lt;/math&amp;gt; is the total length in z direction. &lt;br /&gt;
&lt;br /&gt;
For convenience, one can also define the ratiometric absorbance: &amp;lt;math&amp;gt; A = -\log(\frac{I_d}{I_0}) = \mu_\alpha L_z &amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
To have the same amount of absorption in the fluorophore when using the multilayer model, we need to equivalently adjust the optical property &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; of the material to balance the effect of shrinking the volume occupied by the fluorophore. Gathering the fluorophore into a thin slab of thickness &amp;lt;math&amp;gt;\Delta{z} &amp;lt;/math&amp;gt;, the absorbance here is: &amp;lt;math&amp;gt; A= \mu_\alpha&#039; \Delta{z}&amp;lt;/math&amp;gt;. Therefore one can increase the absorption coefficient to compensate for the reduced volume. This hold true as long as the field variation across the sub-volume is linear. When &amp;lt;math&amp;gt;\mu_\alpha L_z\ll1&amp;lt;/math&amp;gt;, the field decay is approximately linear for a small change in z: &amp;lt;math&amp;gt;\exp(-\mu_\alpha&#039;z) \approx 1-\mu_\alpha&#039;z &amp;lt;/math&amp;gt; for small z. Thus, we can always compensate the change in geometry by choosing a sufficiently small spacing between the thin planes relative to the absorptivity of the material.&lt;br /&gt;
&lt;br /&gt;
Using the equivalent absorpsivity correction, the total absorption is the same. In addition, the blue photon absorbed by FAD will result in the fluorescence emission, such that the correct FAD fluorescence activity can be simulated.&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
&lt;br /&gt;
The properties of the dysplastic region directly determines the fluorescence signal. Here, the properties refer to the geometry size, shape, the fluorophore concentration, and the location inside the skin tissue. Below, we will carry out a few computational and numerical experiments to qualitatively describe the dependence between the fluorescence signal strength and these factors. The simulation is conducted based on MCMatlab Fluorescence Monte Carlo simulation package. &lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Width ===&lt;br /&gt;
[[File:results1_updated.png|900px|thumb|center| (a) Schematic of the geometry, which is defined as a one-dimensional variation in FAD concentration with a low concentration at the central part representing the dysplastic region. (b) The actual fluorescence signal measured as a function of x position. The contrast signal is extracted as the ratio between the magnitude of the dip and the maximum signal level. (c) The dependence betweewn the width of the dysplastic region and the fluorescence contrast signal. (d) The measured fluorescence signal for each width value with an increasing width from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
For the first study, the simulated geometry is defined as a one-dimensional concentration variation in &amp;quot;x&amp;quot; as shown in the figure above with a lower FAD concentration at the central region representing the dysplastic region. The width of the dysplastic region is swept and the output fluorescence contrast signal is measured. It is shown that the contrast signal first goes up, then saturates at w~0.35 mm. At small width values, the signals are mixed up from the two edges where the concentration changes sharply, so that one cannot resolve the full contrast signal. When the two edges are separated sufficiently far, the full signal can be resolved, giving a relative fluorescence contrast as 0.3.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Depth ===&lt;br /&gt;
Next, the qualitative relation is studied between the depth of the dysplastic region inside the skin and the fluorescence contrast signal. In this case, the geometry is defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm and the thickness to 0.1 mm. The depth is set as the swept parameter, and it is defined as the distance between the top surface of the epidermis layer and the top surface of the rectangular wire. &lt;br /&gt;
&lt;br /&gt;
[[File:results2_updated.png|600px|thumb|center| (a) Schematic of the geometry, where the FAD concentration inside the rectangular rod is lower, representing the dysplastic region. The depth of the rectangular wire is swept. (b) The dependence betweewn the depth of the dysplastic region and the fluorescence contrast signal. The red dashed line illustrates an exponential fitting of the simulation results. (c) The measured fluorescence signal for each depth value with an increasing depth from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that the fluorescence contrast signal decreases as the depth increases, which agrees with intuition. As for a deeper location inside the skin, it takes farther distance for the fluorescent light to travel out, therefore the distortion introduced by the scattering events as the light propagates through the skin tissue is stronger. In addition, the attenuation from both scattering and absorption is stronger as well, which further reduces the SNR. For depth greater than 0.1 mm, the contrast signal strength is nearly vanishing.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the FAD Concentration Difference ===&lt;br /&gt;
Similarly, the strength of the contrast signal should also be a function of the concentration difference of FAD between the dysplastic and the healthy tissue. The geometry is again defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm, the thickness to 0.1 mm, and the depth is set to 0.04 mm. The volumetric concentration of FAD in the healthy region is fixed to 0.2 while the FAD concentration in the dysplastic region is varied from 0 to 0.2. &lt;br /&gt;
&lt;br /&gt;
[[File:results32_updated.png|900px|thumb|center| (a,c) Schematic of the geometry, (a) has a shallower dysplastic region while it is deeper in (c). The FAD concentration inside the rectangular rod is swept. (b,d) The dependence betweewn the concentration difference and the fluorescence contrast signal. (c) The measured fluorescence signal for each concentration value with a decreasing concentration contrast from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that for 0.04 mm as the depth, the fluorescence contrast signal is linearly proportional to the FAD concentration difference, which again agrees with intuition. The concentration difference determines the distribution in the number of fluorescence emitter, which is equivalent to the source and directly proportional to the fluorescence intensity. When increasing the depth of the rectangular wire to 0.1 mm, again the linear dependence is shown however with an overall lower amplitude, representing the decrease in the number of fluorescence emitter.&lt;br /&gt;
&lt;br /&gt;
=== Image Quality and Simulation Limitations  ===&lt;br /&gt;
Optical Monte Carlo simulations, while powerful and versatile, are computationally demanding due to the nature of light propagation and the need to model a vast number of photon trajectories. The computational expense arises from the necessity to track individual photon interactions and their probabilistic behavior as they scatter, absorb, and move through the medium.  Modeling three-dimensional environments adds complexity, as simulations must account for photon movements in all spatial directions within the medium. To illustrate this, a regular high performance laptop were able to simulate about 10&amp;lt;math&amp;gt;^6&amp;lt;/math&amp;gt; photons per minute, while a 1mW light source at 400 nm emits 10&amp;lt;math&amp;gt;^{15}&amp;lt;/math&amp;gt; photons per second. This can be a problem when trying to model realistic scenarios with low signal to noise. Figure 5 shows a set of images of an embedded dysplastic lesion in healthy tissue, with varying number of simulated photons. The images corresponds to a total simulation time of 4, 40 and 400 minutes, respectively (half to acquire the absorption profile and half for the fluorescence signal).&lt;br /&gt;
&lt;br /&gt;
[[File:imagesAndSchematic.png|900px|thumb|center| a) Schematic of simulation. A 425nm LED is used as an excitation source and fluorescence is collected at 530nm. b) Image quality as a function of simulation number of photons simulated. Top) Collected images of an embedded dysplastic lesion inside healthy tissue. Bottom) Cross section of the image intensity.  ]]&lt;br /&gt;
&lt;br /&gt;
== Conclusions ==&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
You can write math equations as follows:&lt;br /&gt;
&amp;lt;math&amp;gt;y = x^2 + 5 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can include images as follows (you will need to upload the image first using the toolbox on the left bar, using the &amp;quot;Upload file&amp;quot; link).&lt;br /&gt;
&lt;br /&gt;
[[File:Snip 20210106183207.png|200px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
1. Y. Xu et al. Optical Imaging in the Diagnosis of OPMDs Malignant Transformation, Journal of Dental Research 2022, Vol. 101(7) 749–758&lt;br /&gt;
&lt;br /&gt;
2. MCmatlab package and documentation: https://github.com/ankrh/MCmatlab&lt;br /&gt;
&lt;br /&gt;
3. Steven L Jacques Optical properties of biological tissues: a review, 2013 Phys. Med. Biol. 58 R37&lt;/div&gt;</summary>
		<author><name>Bohan</name></author>
	</entry>
	<entry>
		<id>http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=34043</id>
		<title>Medical imaging: Simulations of reflectance and fluorescence of human tissue</title>
		<link rel="alternate" type="text/html" href="http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=34043"/>
		<updated>2023-12-18T18:36:31Z</updated>

		<summary type="html">&lt;p&gt;Bohan: /* Equivalent Model of Fluorophore Solution */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
Squamous dysplasia, a precursor to squamous cell carcinoma, represents a spectrum of histological alterations within the epithelium, characterized by abnormal cellular morphology and metabolism. Early identification is critical to prevent the progression to invasive carcinoma. Auto fluorescent imaging (AFI) has emerged as a promising non-invasive technique for the detection of squamous dysplasia. Flavin adenine dinucleotide (FAD), an essential co-factor in cellular oxidative metabolism, undergoes changes in concentration and redox state during dysplastic transformations. Studies indicate a correlation between dysplastic progression and altered FAD levels, leading to variations in tissue fluorescence&amp;lt;math&amp;gt;^1&amp;lt;/math&amp;gt;. Lower FAD concentrations in dysplastic areas manifest as decreased fluorescence intensity level, which in principle can be imaged with AFI.&lt;br /&gt;
&lt;br /&gt;
AFI uses the intrinsic fluorescent properties of endogenous molecules within tissues. Under appropriate excitation wavelengths, endogenous fluorophores emit light, providing real-time visualization of tissue morphology. The altered metabolic activity and subsequent changes in FAD concentrations in dysplastic tissues offer a distinct fluorescence pattern that is in principle discernible through AFI.&lt;br /&gt;
&lt;br /&gt;
In clinical settings, AFI demonstrates promise as a non-invasive tool for identifying early dysplastic lesions. Its ability to highlight subtle changes in tissue autofluorescence can aid in targeted biopsies and delineation of margins during surgical interventions. In this project, we explore imaging of dysplastic tissues by using optical Monte Carlo based fluorescence simulations. We identify qualitative trends of image quality with respect to dysplastic lesion size, depth, and fluorophore concentration change. Understanding how photons interact with fluorophores, the probability of excitation, and the emitted fluorescence intensity can assist in predicting and interpreting experimental fluorescence measurements.&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
[[File:optical.png|300px|right| thumb | The optical processes in skin tissue, including reflection, scattering, absorption, and fluorescence. ]]&lt;br /&gt;
&lt;br /&gt;
=== Optical Processes in Skin Tissue ===&lt;br /&gt;
&lt;br /&gt;
When shining light into the skin, there are multiple light-matter interaction processes happening simultaneously, including reflection, absorption, scattering, and fluorescence as depicted in the figure below. &lt;br /&gt;
&lt;br /&gt;
The key process in this study is fluorescence. When short wavelength photon is absorbed, the material will re-emit photon at a longer wavelength and smaller energy. In the epidermis layer of the skin tissue, there are two fluorescence molecules, FAD and NADH, which are related to metabolic activities of cells. By measuring the fluorescence activities, one can monitor the localized concentration of FAD and NADH in the epidermis layer, therefore acquiring early signs on potnetial dysplasia. To model the fluorescence activities in the epidermis layer, the fluorophore is assumed to be uniformly distributed in the epidermis layer as a solution while the dysplastic region can be regarded as some localized volume with a different concentration comparing to the surrounding medium. &lt;br /&gt;
&lt;br /&gt;
Reflection refers to the back-scatter of photon at the interface between different materials when the index of refraction changes. Since the main composition of human skin is water, the variation of index of refraction is minor therefore there is negligible amount of reflection inside human skin. The strongest reflection happens at the surface of skin where photon hits the skin tissue from air. This can result in a spectral reduction of the number of photons actually entering into the skin, which results in a reduction in the actual fluorescence signal strength. &lt;br /&gt;
&lt;br /&gt;
Absorption is an intrinsic property of light-matter interaction where the amplitude of electromagnetic field attenuates as propagating. The absorption in a solution can be quatitatively described using the Beer-Lambert law, where the intensity of light decay exponentially as it travels in the absorptive medium. The decay rate is characterized by the absorption coefficient &amp;lt;math&amp;gt; \mu_\alpha &amp;lt;/math&amp;gt; which is a function of the solvend absorpsivity and its concentration. In human skin tissue, the total amount of absorption can be decomposed into several different components, including absorption from water, fat, melanin, and blood content, which can be cast by an empirical equation [REF]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; mu_{\alpha} =BS\mu_{\alpha,oxy} + B (1-S) \mu_{\alpha,deoxy} + W\mu_{\alpha,water} + F\mu_{\alpha,fat} + M\mu_{\alpha,melanosome} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The scattering process refers to the change in the direction of motion when the photon interacts with the material (mainly the nuclei). In the actual scenario of fluorescence detection, the scattering process can result in two consequences including the attenuation of number of photons in the forward propagating direction, and introducing distortion to the localized signal. The second consequence is the critical factor of reducing the signal to noise ratio, as the localized signal from the dysplasia is smeared by the uncertain scattering processes.&lt;br /&gt;
&lt;br /&gt;
== Methods ==&lt;br /&gt;
&lt;br /&gt;
=== Monte Carlo Simulation ===&lt;br /&gt;
&lt;br /&gt;
Monte Carlo simulations is a useful tool for modeling and understanding the intricate behaviors of light propagation through tissues. These simulations rely on probabilistic algorithms that simulate numerous random trajectories of photons within a medium, enabling the prediction and analysis of light transport in complex systems. These trajectories are based on scattering events and the optical properties of the medium. As photons travel, they undergo interactions, either scattering off structures within the tissue or getting absorbed. The simulations track the path lengths and angles of these photons, ultimately predicting the reflectance and absorption profiles. &lt;br /&gt;
&lt;br /&gt;
To simulate fluorescence, an initial simulation models the absorption of incident photons by fluorescent molecules like FAD or other fluorophores. The resulting absorption profile is then used as a source for fluorescent light of a different wavelength and the Monte Carlo algorithm is applied again.&lt;br /&gt;
&lt;br /&gt;
=== MCMatlab ===&lt;br /&gt;
&lt;br /&gt;
We decided to use MCmatlab based on a class project from last year, where it was implemented to simulate diffuse reflectance of different oxygenation levels for various skin types. &lt;br /&gt;
&lt;br /&gt;
In MCMatlab a medium is defined by specifying a set of parameters&amp;lt;math&amp;gt;^2&amp;lt;/math&amp;gt;. The relevant parameters in our simulation are: Absorption coefficient ‘&amp;lt;math&amp;gt;\mu_a&amp;lt;/math&amp;gt;’, Scattering coefficient ‘&amp;lt;math&amp;gt;\mu_s&amp;lt;/math&amp;gt;’, Emission spectrum ‘&amp;lt;math&amp;gt;\epsilon_{\lambda}&amp;lt;/math&amp;gt;’, Quantum yield &#039;QY&#039;, Henyey-Greenstein Scattering anisotropy factor ‘g’ and Refractive Index ‘n’. &lt;br /&gt;
&lt;br /&gt;
All quantities are a function of wavelength. The absorption coefficient is given in units of cm&amp;lt;math&amp;gt;^{-1}&amp;lt;/math&amp;gt;. The scattering coefficient is expressed as the fraction of photons getting scattered while traveling in a medium per unit distance. The emission spectrum describes the relative spectral power emitted for each wavelength. The quantum yield is defined as the number of photons emitted per absorbed photons. Henyey-Greenstein Scattering anisotropy factor has a value between 0 and 1 and  quantifies the degree of angular distribution in the scattering of photons within a medium. More concretely, g = 0 signifies purely isotropic scattering, indicating an equal probability of scattering in all directions while g = 1 represents completely forward-peaked scattering, indicating a strong preference for photons to be scattered in the forward direction. See referenced documentation for full details about all parameters. &lt;br /&gt;
&lt;br /&gt;
Relevant parameters for surrounding tissue of varying levels of blood, blood oxygenation, water and fat were extracted from Jacques&#039; work&amp;lt;math&amp;gt;^3&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Equivalent Model of Fluorophore Solution ===&lt;br /&gt;
When considering the optical response of the epidermis layer for blue light, absorption occurs both directly in FAD as well as in the rest of the tissue. In MCmatlab, a material can only be defined by a single absorption coefficient and emissivity spectrum. This presents a problem since absorption from surrounding tissue artificially contribute to FAD fluorescence in the model. Unfortunately,  this yields an unacceptable degree of inaccuracy as the overall absorption by the tissue is large compared to the absorption in FAD, due to its low concentration. In other words, the majority of the fluorescence would come from absorption in tissue which normally does not fluoresce. This also makes it hard to model subtle changes in FAD levels due to the strong artificial fluorescence background.&lt;br /&gt;
&lt;br /&gt;
[[File:model.png|500px|thumb|center|The multilayer model for fluorescence Monte Carlo simulation. ]]&lt;br /&gt;
&lt;br /&gt;
To solve this issue, we introduce a multilayer model where FAD molecules distributed in a volume is collected into thin planes spread across the volume (see Figure 1). By separating FAD from the rest of the tissue components, we can define two separate media in MCmatlab with their respective optical properties, avoiding the issue of artificial fluorescence. However, changing the geometry in this way will also affect the optical response. Below, we derive an expression to correct for the geometrical change. &lt;br /&gt;
&lt;br /&gt;
The total optical absorption can be described as:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \propto \int dV (-J)\cdot E = \int dV (-i\omega\varepsilon_0 \chi |E|^2) = \int dV \omega\varepsilon_0 \chi&#039;&#039; |E|^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;J&amp;lt;/math&amp;gt; is the current density, &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; is the electric field, &amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; is the angular frequency of light, &amp;lt;math&amp;gt; \varepsilon_0&amp;lt;/math&amp;gt;  is the free space electric permittivity, &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  is the material susceptibility, and &amp;lt;math&amp;gt;\chi&#039;&#039;&amp;lt;/math&amp;gt; is the imaginary part of &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  representing the optical absorption of a certain material. Under the representation of Beer-Lambert law, the electric field penetrating in the skin can be described as an exponential decay: &amp;lt;math&amp;gt; E = E_0 \exp(-\mu_\alpha z) &amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; is the material absorpsivity in the unit of [cm]&amp;lt;math&amp;gt;^{-1}&amp;lt;/math&amp;gt;. Substituting the exponentially decaying electric field into the absorption expression and applying our one-dimensional multilayer geometry: &lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \cong C \int_{0}^{L_z} dz \exp(-2\mu_\alpha z) = C\frac{1-\exp(-2\mu_\alpha L_z)}{2\mu_\alpha} &amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;L_z&amp;lt;/math&amp;gt; is the total length in z direction. &lt;br /&gt;
&lt;br /&gt;
For convenience, one can also define the ratiometric absorbance: &amp;lt;math&amp;gt; A = -log(\frac{I_d}{I_0}) = \mu_\alpha L_z &amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
To have the same amount of absorption in the fluorophore when using the multilayer model, we need to equivalently adjust the optical property &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; of the material to balance the effect of shrinking the volume occupied by the fluorophore. Gathering the fluorophore into a thin slab of thickness \Delta{z} &amp;lt;/math&amp;gt;, the absorbance here is: &amp;lt;math&amp;gt; A= \mu_\alpha&#039; \Delta{z}&amp;lt;/math&amp;gt;. Therefore one can increase the absorption coefficient to compensate for the reduced volume. This hold true as long as the field variation across the sub-volume is linear. When &amp;lt;math&amp;gt;\mu_\alpha L_z\ll1&amp;lt;/math&amp;gt;, the field decay is approximately linear for a small change in z: &amp;lt;math&amp;gt;\exp(-\mu_\alpha&#039;z) \approx 1-\mu_\alpha&#039;z &amp;lt;/math&amp;gt; for small z. Thus, we can always compensate the change in geometry by choosing a sufficiently small spacing between the thin planes relative to the absorptivity of the material.&lt;br /&gt;
&lt;br /&gt;
Using the equivalent absorpsivity correction, the total absorption is the same. In addition, the blue photon absorbed by FAD will result in the fluorescence emission, such that the correct FAD fluorescence activity can be simulated.&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
&lt;br /&gt;
The properties of the dysplastic region directly determines the fluorescence signal. Here, the properties refer to the geometry size, shape, the fluorophore concentration, and the location inside the skin tissue. Below, we will carry out a few computational and numerical experiments to qualitatively describe the dependence between the fluorescence signal strength and these factors. The simulation is conducted based on MCMatlab Fluorescence Monte Carlo simulation package. &lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Width ===&lt;br /&gt;
[[File:results1_updated.png|900px|thumb|center| (a) Schematic of the geometry, which is defined as a one-dimensional variation in FAD concentration with a low concentration at the central part representing the dysplastic region. (b) The actual fluorescence signal measured as a function of x position. The contrast signal is extracted as the ratio between the magnitude of the dip and the maximum signal level. (c) The dependence betweewn the width of the dysplastic region and the fluorescence contrast signal. (d) The measured fluorescence signal for each width value with an increasing width from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
For the first study, the simulated geometry is defined as a one-dimensional concentration variation in &amp;quot;x&amp;quot; as shown in the figure above with a lower FAD concentration at the central region representing the dysplastic region. The width of the dysplastic region is swept and the output fluorescence contrast signal is measured. It is shown that the contrast signal first goes up, then saturates at w~0.35 mm. At small width values, the signals are mixed up from the two edges where the concentration changes sharply, so that one cannot resolve the full contrast signal. When the two edges are separated sufficiently far, the full signal can be resolved, giving a relative fluorescence contrast as 0.3.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Depth ===&lt;br /&gt;
Next, the qualitative relation is studied between the depth of the dysplastic region inside the skin and the fluorescence contrast signal. In this case, the geometry is defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm and the thickness to 0.1 mm. The depth is set as the swept parameter, and it is defined as the distance between the top surface of the epidermis layer and the top surface of the rectangular wire. &lt;br /&gt;
&lt;br /&gt;
[[File:results2_updated.png|600px|thumb|center| (a) Schematic of the geometry, where the FAD concentration inside the rectangular rod is lower, representing the dysplastic region. The depth of the rectangular wire is swept. (b) The dependence betweewn the depth of the dysplastic region and the fluorescence contrast signal. The red dashed line illustrates an exponential fitting of the simulation results. (c) The measured fluorescence signal for each depth value with an increasing depth from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that the fluorescence contrast signal decreases as the depth increases, which agrees with intuition. As for a deeper location inside the skin, it takes farther distance for the fluorescent light to travel out, therefore the distortion introduced by the scattering events as the light propagates through the skin tissue is stronger. In addition, the attenuation from both scattering and absorption is stronger as well, which further reduces the SNR. For depth greater than 0.1 mm, the contrast signal strength is nearly vanishing.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the FAD Concentration Difference ===&lt;br /&gt;
Similarly, the strength of the contrast signal should also be a function of the concentration difference of FAD between the dysplastic and the healthy tissue. The geometry is again defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm, the thickness to 0.1 mm, and the depth is set to 0.04 mm. The volumetric concentration of FAD in the healthy region is fixed to 0.2 while the FAD concentration in the dysplastic region is varied from 0 to 0.2. &lt;br /&gt;
&lt;br /&gt;
[[File:results32_updated.png|900px|thumb|center| (a,c) Schematic of the geometry, (a) has a shallower dysplastic region while it is deeper in (c). The FAD concentration inside the rectangular rod is swept. (b,d) The dependence betweewn the concentration difference and the fluorescence contrast signal. (c) The measured fluorescence signal for each concentration value with a decreasing concentration contrast from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that for 0.04 mm as the depth, the fluorescence contrast signal is linearly proportional to the FAD concentration difference, which again agrees with intuition. The concentration difference determines the distribution in the number of fluorescence emitter, which is equivalent to the source and directly proportional to the fluorescence intensity. When increasing the depth of the rectangular wire to 0.1 mm, again the linear dependence is shown however with an overall lower amplitude, representing the decrease in the number of fluorescence emitter.&lt;br /&gt;
&lt;br /&gt;
=== Image Quality and Simulation Limitations  ===&lt;br /&gt;
Optical Monte Carlo simulations, while powerful and versatile, are computationally demanding due to the nature of light propagation and the need to model a vast number of photon trajectories. The computational expense arises from the necessity to track individual photon interactions and their probabilistic behavior as they scatter, absorb, and move through the medium.  Modeling three-dimensional environments adds complexity, as simulations must account for photon movements in all spatial directions within the medium. To illustrate this, a regular high performance laptop were able to simulate about 10&amp;lt;math&amp;gt;^6&amp;lt;/math&amp;gt; photons per minute, while a 1mW light source at 400 nm emits 10&amp;lt;math&amp;gt;^{15}&amp;lt;/math&amp;gt; photons per second. This can be a problem when trying to model realistic scenarios with low signal to noise. Figure 5 shows a set of images of an embedded dysplastic lesion in healthy tissue, with varying number of simulated photons. The images corresponds to a total simulation time of 4, 40 and 400 minutes, respectively (half to acquire the absorption profile and half for the fluorescence signal).&lt;br /&gt;
&lt;br /&gt;
[[File:imagesAndSchematic.png|900px|thumb|center| a) Schematic of simulation. A 425nm LED is used as an excitation source and fluorescence is collected at 530nm. b) Image quality as a function of simulation number of photons simulated. Top) Collected images of an embedded dysplastic lesion inside healthy tissue. Bottom) Cross section of the image intensity.  ]]&lt;br /&gt;
&lt;br /&gt;
== Conclusions ==&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
You can write math equations as follows:&lt;br /&gt;
&amp;lt;math&amp;gt;y = x^2 + 5 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can include images as follows (you will need to upload the image first using the toolbox on the left bar, using the &amp;quot;Upload file&amp;quot; link).&lt;br /&gt;
&lt;br /&gt;
[[File:Snip 20210106183207.png|200px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
1. Y. Xu et al. Optical Imaging in the Diagnosis of OPMDs Malignant Transformation, Journal of Dental Research 2022, Vol. 101(7) 749–758&lt;br /&gt;
&lt;br /&gt;
2. MCmatlab package and documentation: https://github.com/ankrh/MCmatlab&lt;br /&gt;
&lt;br /&gt;
3. Steven L Jacques Optical properties of biological tissues: a review, 2013 Phys. Med. Biol. 58 R37&lt;/div&gt;</summary>
		<author><name>Bohan</name></author>
	</entry>
	<entry>
		<id>http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=34042</id>
		<title>Medical imaging: Simulations of reflectance and fluorescence of human tissue</title>
		<link rel="alternate" type="text/html" href="http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=34042"/>
		<updated>2023-12-18T18:36:10Z</updated>

		<summary type="html">&lt;p&gt;Bohan: /* Equivalent Model of Fluorophore Solution */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
Squamous dysplasia, a precursor to squamous cell carcinoma, represents a spectrum of histological alterations within the epithelium, characterized by abnormal cellular morphology and metabolism. Early identification is critical to prevent the progression to invasive carcinoma. Auto fluorescent imaging (AFI) has emerged as a promising non-invasive technique for the detection of squamous dysplasia. Flavin adenine dinucleotide (FAD), an essential co-factor in cellular oxidative metabolism, undergoes changes in concentration and redox state during dysplastic transformations. Studies indicate a correlation between dysplastic progression and altered FAD levels, leading to variations in tissue fluorescence&amp;lt;math&amp;gt;^1&amp;lt;/math&amp;gt;. Lower FAD concentrations in dysplastic areas manifest as decreased fluorescence intensity level, which in principle can be imaged with AFI.&lt;br /&gt;
&lt;br /&gt;
AFI uses the intrinsic fluorescent properties of endogenous molecules within tissues. Under appropriate excitation wavelengths, endogenous fluorophores emit light, providing real-time visualization of tissue morphology. The altered metabolic activity and subsequent changes in FAD concentrations in dysplastic tissues offer a distinct fluorescence pattern that is in principle discernible through AFI.&lt;br /&gt;
&lt;br /&gt;
In clinical settings, AFI demonstrates promise as a non-invasive tool for identifying early dysplastic lesions. Its ability to highlight subtle changes in tissue autofluorescence can aid in targeted biopsies and delineation of margins during surgical interventions. In this project, we explore imaging of dysplastic tissues by using optical Monte Carlo based fluorescence simulations. We identify qualitative trends of image quality with respect to dysplastic lesion size, depth, and fluorophore concentration change. Understanding how photons interact with fluorophores, the probability of excitation, and the emitted fluorescence intensity can assist in predicting and interpreting experimental fluorescence measurements.&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
[[File:optical.png|300px|right| thumb | The optical processes in skin tissue, including reflection, scattering, absorption, and fluorescence. ]]&lt;br /&gt;
&lt;br /&gt;
=== Optical Processes in Skin Tissue ===&lt;br /&gt;
&lt;br /&gt;
When shining light into the skin, there are multiple light-matter interaction processes happening simultaneously, including reflection, absorption, scattering, and fluorescence as depicted in the figure below. &lt;br /&gt;
&lt;br /&gt;
The key process in this study is fluorescence. When short wavelength photon is absorbed, the material will re-emit photon at a longer wavelength and smaller energy. In the epidermis layer of the skin tissue, there are two fluorescence molecules, FAD and NADH, which are related to metabolic activities of cells. By measuring the fluorescence activities, one can monitor the localized concentration of FAD and NADH in the epidermis layer, therefore acquiring early signs on potnetial dysplasia. To model the fluorescence activities in the epidermis layer, the fluorophore is assumed to be uniformly distributed in the epidermis layer as a solution while the dysplastic region can be regarded as some localized volume with a different concentration comparing to the surrounding medium. &lt;br /&gt;
&lt;br /&gt;
Reflection refers to the back-scatter of photon at the interface between different materials when the index of refraction changes. Since the main composition of human skin is water, the variation of index of refraction is minor therefore there is negligible amount of reflection inside human skin. The strongest reflection happens at the surface of skin where photon hits the skin tissue from air. This can result in a spectral reduction of the number of photons actually entering into the skin, which results in a reduction in the actual fluorescence signal strength. &lt;br /&gt;
&lt;br /&gt;
Absorption is an intrinsic property of light-matter interaction where the amplitude of electromagnetic field attenuates as propagating. The absorption in a solution can be quatitatively described using the Beer-Lambert law, where the intensity of light decay exponentially as it travels in the absorptive medium. The decay rate is characterized by the absorption coefficient &amp;lt;math&amp;gt; \mu_\alpha &amp;lt;/math&amp;gt; which is a function of the solvend absorpsivity and its concentration. In human skin tissue, the total amount of absorption can be decomposed into several different components, including absorption from water, fat, melanin, and blood content, which can be cast by an empirical equation [REF]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; mu_{\alpha} =BS\mu_{\alpha,oxy} + B (1-S) \mu_{\alpha,deoxy} + W\mu_{\alpha,water} + F\mu_{\alpha,fat} + M\mu_{\alpha,melanosome} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The scattering process refers to the change in the direction of motion when the photon interacts with the material (mainly the nuclei). In the actual scenario of fluorescence detection, the scattering process can result in two consequences including the attenuation of number of photons in the forward propagating direction, and introducing distortion to the localized signal. The second consequence is the critical factor of reducing the signal to noise ratio, as the localized signal from the dysplasia is smeared by the uncertain scattering processes.&lt;br /&gt;
&lt;br /&gt;
== Methods ==&lt;br /&gt;
&lt;br /&gt;
=== Monte Carlo Simulation ===&lt;br /&gt;
&lt;br /&gt;
Monte Carlo simulations is a useful tool for modeling and understanding the intricate behaviors of light propagation through tissues. These simulations rely on probabilistic algorithms that simulate numerous random trajectories of photons within a medium, enabling the prediction and analysis of light transport in complex systems. These trajectories are based on scattering events and the optical properties of the medium. As photons travel, they undergo interactions, either scattering off structures within the tissue or getting absorbed. The simulations track the path lengths and angles of these photons, ultimately predicting the reflectance and absorption profiles. &lt;br /&gt;
&lt;br /&gt;
To simulate fluorescence, an initial simulation models the absorption of incident photons by fluorescent molecules like FAD or other fluorophores. The resulting absorption profile is then used as a source for fluorescent light of a different wavelength and the Monte Carlo algorithm is applied again.&lt;br /&gt;
&lt;br /&gt;
=== MCMatlab ===&lt;br /&gt;
&lt;br /&gt;
We decided to use MCmatlab based on a class project from last year, where it was implemented to simulate diffuse reflectance of different oxygenation levels for various skin types. &lt;br /&gt;
&lt;br /&gt;
In MCMatlab a medium is defined by specifying a set of parameters&amp;lt;math&amp;gt;^2&amp;lt;/math&amp;gt;. The relevant parameters in our simulation are: Absorption coefficient ‘&amp;lt;math&amp;gt;\mu_a&amp;lt;/math&amp;gt;’, Scattering coefficient ‘&amp;lt;math&amp;gt;\mu_s&amp;lt;/math&amp;gt;’, Emission spectrum ‘&amp;lt;math&amp;gt;\epsilon_{\lambda}&amp;lt;/math&amp;gt;’, Quantum yield &#039;QY&#039;, Henyey-Greenstein Scattering anisotropy factor ‘g’ and Refractive Index ‘n’. &lt;br /&gt;
&lt;br /&gt;
All quantities are a function of wavelength. The absorption coefficient is given in units of cm&amp;lt;math&amp;gt;^{-1}&amp;lt;/math&amp;gt;. The scattering coefficient is expressed as the fraction of photons getting scattered while traveling in a medium per unit distance. The emission spectrum describes the relative spectral power emitted for each wavelength. The quantum yield is defined as the number of photons emitted per absorbed photons. Henyey-Greenstein Scattering anisotropy factor has a value between 0 and 1 and  quantifies the degree of angular distribution in the scattering of photons within a medium. More concretely, g = 0 signifies purely isotropic scattering, indicating an equal probability of scattering in all directions while g = 1 represents completely forward-peaked scattering, indicating a strong preference for photons to be scattered in the forward direction. See referenced documentation for full details about all parameters. &lt;br /&gt;
&lt;br /&gt;
Relevant parameters for surrounding tissue of varying levels of blood, blood oxygenation, water and fat were extracted from Jacques&#039; work&amp;lt;math&amp;gt;^3&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Equivalent Model of Fluorophore Solution ===&lt;br /&gt;
When considering the optical response of the epidermis layer for blue light, absorption occurs both directly in FAD as well as in the rest of the tissue. In MCmatlab, a material can only be defined by a single absorption coefficient and emissivity spectrum. This presents a problem since absorption from surrounding tissue artificially contribute to FAD fluorescence in the model. Unfortunately,  this yields an unacceptable degree of inaccuracy as the overall absorption by the tissue is large compared to the absorption in FAD, due to its low concentration. In other words, the majority of the fluorescence would come from absorption in tissue which normally does not fluoresce. This also makes it hard to model subtle changes in FAD levels due to the strong artificial fluorescence background.&lt;br /&gt;
&lt;br /&gt;
[[File:model.png|500px|thumb|center|The multilayer model for fluorescence Monte Carlo simulation. ]]&lt;br /&gt;
&lt;br /&gt;
To solve this issue, we introduce a multilayer model where FAD molecules distributed in a volume is collected into thin planes spread across the volume (see Figure 1). By separating FAD from the rest of the tissue components, we can define two separate media in MCmatlab with their respective optical properties, avoiding the issue of artificial fluorescence. However, changing the geometry in this way will also affect the optical response. Below, we derive an expression to correct for the geometrical change. &lt;br /&gt;
&lt;br /&gt;
The total optical absorption can be described as:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \propto \int dV (-J)\cdot E = \int dV (-i\omega\varepsilon_0 \chi |E|^2) = \int dV \omega\varepsilon_0 \chi&#039;&#039; |E|^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;J&amp;lt;/math&amp;gt; is the current density, &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; is the electric field, &amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; is the angular frequency of light, &amp;lt;math&amp;gt; \varepsilon_0&amp;lt;/math&amp;gt;  is the free space electric permittivity, &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  is the material susceptibility, and &amp;lt;math&amp;gt;\chi&#039;&#039;&amp;lt;/math&amp;gt; is the imaginary part of &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  representing the optical absorption of a certain material. Under the representation of Beer-Lambert law, the electric field penetrating in the skin can be described as an exponential decay: &amp;lt;math&amp;gt; E = E_0 \exp(-\mu_\alpha z) &amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; is the material absorpsivity in the unit of [cm]&amp;lt;math&amp;gt;^{-1}&amp;lt;/math&amp;gt;. Substituting the exponentially decaying electric field into the absorption expression and applying our one-dimensional multilayer geometry: &lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \cong A \int_{0}^{L_z} dz \exp(-2\mu_\alpha z) = C\frac{1-\exp(-2\mu_\alpha L_z)}{2\mu_\alpha} &amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;L_z&amp;lt;/math&amp;gt; is the total length in z direction. &lt;br /&gt;
&lt;br /&gt;
For convenience, one can also define the ratiometric absorbance: &amp;lt;math&amp;gt; A = -log(\frac{I_d}{I_0}) = \mu_\alpha L_z &amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
To have the same amount of absorption in the fluorophore when using the multilayer model, we need to equivalently adjust the optical property &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; of the material to balance the effect of shrinking the volume occupied by the fluorophore. Gathering the fluorophore into a thin slab of thickness \Delta{z} &amp;lt;/math&amp;gt;, the absorbance here is: &amp;lt;math&amp;gt; A= \mu_\alpha&#039; \Delta{z}&amp;lt;/math&amp;gt;. Therefore one can increase the absorption coefficient to compensate for the reduced volume. This hold true as long as the field variation across the sub-volume is linear. When &amp;lt;math&amp;gt;\mu_\alpha L_z\ll1&amp;lt;/math&amp;gt;, the field decay is approximately linear for a small change in z: &amp;lt;math&amp;gt;\exp(-\mu_\alpha&#039;z) \approx 1-\mu_\alpha&#039;z &amp;lt;/math&amp;gt; for small z. Thus, we can always compensate the change in geometry by choosing a sufficiently small spacing between the thin planes relative to the absorptivity of the material.&lt;br /&gt;
&lt;br /&gt;
Using the equivalent absorpsivity correction, the total absorption is the same. In addition, the blue photon absorbed by FAD will result in the fluorescence emission, such that the correct FAD fluorescence activity can be simulated.&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
&lt;br /&gt;
The properties of the dysplastic region directly determines the fluorescence signal. Here, the properties refer to the geometry size, shape, the fluorophore concentration, and the location inside the skin tissue. Below, we will carry out a few computational and numerical experiments to qualitatively describe the dependence between the fluorescence signal strength and these factors. The simulation is conducted based on MCMatlab Fluorescence Monte Carlo simulation package. &lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Width ===&lt;br /&gt;
[[File:results1_updated.png|900px|thumb|center| (a) Schematic of the geometry, which is defined as a one-dimensional variation in FAD concentration with a low concentration at the central part representing the dysplastic region. (b) The actual fluorescence signal measured as a function of x position. The contrast signal is extracted as the ratio between the magnitude of the dip and the maximum signal level. (c) The dependence betweewn the width of the dysplastic region and the fluorescence contrast signal. (d) The measured fluorescence signal for each width value with an increasing width from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
For the first study, the simulated geometry is defined as a one-dimensional concentration variation in &amp;quot;x&amp;quot; as shown in the figure above with a lower FAD concentration at the central region representing the dysplastic region. The width of the dysplastic region is swept and the output fluorescence contrast signal is measured. It is shown that the contrast signal first goes up, then saturates at w~0.35 mm. At small width values, the signals are mixed up from the two edges where the concentration changes sharply, so that one cannot resolve the full contrast signal. When the two edges are separated sufficiently far, the full signal can be resolved, giving a relative fluorescence contrast as 0.3.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Depth ===&lt;br /&gt;
Next, the qualitative relation is studied between the depth of the dysplastic region inside the skin and the fluorescence contrast signal. In this case, the geometry is defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm and the thickness to 0.1 mm. The depth is set as the swept parameter, and it is defined as the distance between the top surface of the epidermis layer and the top surface of the rectangular wire. &lt;br /&gt;
&lt;br /&gt;
[[File:results2_updated.png|600px|thumb|center| (a) Schematic of the geometry, where the FAD concentration inside the rectangular rod is lower, representing the dysplastic region. The depth of the rectangular wire is swept. (b) The dependence betweewn the depth of the dysplastic region and the fluorescence contrast signal. The red dashed line illustrates an exponential fitting of the simulation results. (c) The measured fluorescence signal for each depth value with an increasing depth from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that the fluorescence contrast signal decreases as the depth increases, which agrees with intuition. As for a deeper location inside the skin, it takes farther distance for the fluorescent light to travel out, therefore the distortion introduced by the scattering events as the light propagates through the skin tissue is stronger. In addition, the attenuation from both scattering and absorption is stronger as well, which further reduces the SNR. For depth greater than 0.1 mm, the contrast signal strength is nearly vanishing.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the FAD Concentration Difference ===&lt;br /&gt;
Similarly, the strength of the contrast signal should also be a function of the concentration difference of FAD between the dysplastic and the healthy tissue. The geometry is again defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm, the thickness to 0.1 mm, and the depth is set to 0.04 mm. The volumetric concentration of FAD in the healthy region is fixed to 0.2 while the FAD concentration in the dysplastic region is varied from 0 to 0.2. &lt;br /&gt;
&lt;br /&gt;
[[File:results32_updated.png|900px|thumb|center| (a,c) Schematic of the geometry, (a) has a shallower dysplastic region while it is deeper in (c). The FAD concentration inside the rectangular rod is swept. (b,d) The dependence betweewn the concentration difference and the fluorescence contrast signal. (c) The measured fluorescence signal for each concentration value with a decreasing concentration contrast from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that for 0.04 mm as the depth, the fluorescence contrast signal is linearly proportional to the FAD concentration difference, which again agrees with intuition. The concentration difference determines the distribution in the number of fluorescence emitter, which is equivalent to the source and directly proportional to the fluorescence intensity. When increasing the depth of the rectangular wire to 0.1 mm, again the linear dependence is shown however with an overall lower amplitude, representing the decrease in the number of fluorescence emitter.&lt;br /&gt;
&lt;br /&gt;
=== Image Quality and Simulation Limitations  ===&lt;br /&gt;
Optical Monte Carlo simulations, while powerful and versatile, are computationally demanding due to the nature of light propagation and the need to model a vast number of photon trajectories. The computational expense arises from the necessity to track individual photon interactions and their probabilistic behavior as they scatter, absorb, and move through the medium.  Modeling three-dimensional environments adds complexity, as simulations must account for photon movements in all spatial directions within the medium. To illustrate this, a regular high performance laptop were able to simulate about 10&amp;lt;math&amp;gt;^6&amp;lt;/math&amp;gt; photons per minute, while a 1mW light source at 400 nm emits 10&amp;lt;math&amp;gt;^{15}&amp;lt;/math&amp;gt; photons per second. This can be a problem when trying to model realistic scenarios with low signal to noise. Figure 5 shows a set of images of an embedded dysplastic lesion in healthy tissue, with varying number of simulated photons. The images corresponds to a total simulation time of 4, 40 and 400 minutes, respectively (half to acquire the absorption profile and half for the fluorescence signal).&lt;br /&gt;
&lt;br /&gt;
[[File:imagesAndSchematic.png|900px|thumb|center| a) Schematic of simulation. A 425nm LED is used as an excitation source and fluorescence is collected at 530nm. b) Image quality as a function of simulation number of photons simulated. Top) Collected images of an embedded dysplastic lesion inside healthy tissue. Bottom) Cross section of the image intensity.  ]]&lt;br /&gt;
&lt;br /&gt;
== Conclusions ==&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
You can write math equations as follows:&lt;br /&gt;
&amp;lt;math&amp;gt;y = x^2 + 5 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can include images as follows (you will need to upload the image first using the toolbox on the left bar, using the &amp;quot;Upload file&amp;quot; link).&lt;br /&gt;
&lt;br /&gt;
[[File:Snip 20210106183207.png|200px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
1. Y. Xu et al. Optical Imaging in the Diagnosis of OPMDs Malignant Transformation, Journal of Dental Research 2022, Vol. 101(7) 749–758&lt;br /&gt;
&lt;br /&gt;
2. MCmatlab package and documentation: https://github.com/ankrh/MCmatlab&lt;br /&gt;
&lt;br /&gt;
3. Steven L Jacques Optical properties of biological tissues: a review, 2013 Phys. Med. Biol. 58 R37&lt;/div&gt;</summary>
		<author><name>Bohan</name></author>
	</entry>
	<entry>
		<id>http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=34024</id>
		<title>Medical imaging: Simulations of reflectance and fluorescence of human tissue</title>
		<link rel="alternate" type="text/html" href="http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=34024"/>
		<updated>2023-12-18T17:58:20Z</updated>

		<summary type="html">&lt;p&gt;Bohan: /* Optical Processes in Skin Tissue */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
Squamous dysplasia, a precursor to squamous cell carcinoma, represents a spectrum of histological alterations within the epithelium, characterized by abnormal cellular morphology and metabolism. Early identification is critical to prevent the progression to invasive carcinoma. Auto fluorescent imaging (AFI) has emerged as a promising non-invasive technique for the detection of squamous dysplasia. Flavin adenine dinucleotide (FAD), an essential co-factor in cellular oxidative metabolism, undergoes changes in concentration and redox state during dysplastic transformations. Studies indicate a correlation between dysplastic progression and altered FAD levels, leading to variations in tissue fluorescence&amp;lt;math&amp;gt;^1&amp;lt;/math&amp;gt;. Lower FAD concentrations in dysplastic areas manifest as decreased fluorescence intensity level, which in principle can be imaged with AFI.&lt;br /&gt;
&lt;br /&gt;
AFI uses the intrinsic fluorescent properties of endogenous molecules within tissues. Under appropriate excitation wavelengths, endogenous fluorophores emit light, providing real-time visualization of tissue morphology. The altered metabolic activity and subsequent changes in FAD concentrations in dysplastic tissues offer a distinct fluorescence pattern that is in principle discernible through AFI.&lt;br /&gt;
&lt;br /&gt;
In clinical settings, AFI demonstrates promise as a non-invasive tool for identifying early dysplastic lesions. Its ability to highlight subtle changes in tissue autofluorescence can aid in targeted biopsies and delineation of margins during surgical interventions. In this project, we explore imaging of dysplastic tissues by using optical Monte Carlo based fluorescence simulations. We identify qualitative trends of image quality with respect to dysplastic lesion size, depth, and fluorophore concentration change. Understanding how photons interact with fluorophores, the probability of excitation, and the emitted fluorescence intensity can assist in predicting and interpreting experimental fluorescence measurements.&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
[[File:optical.png|300px|right| thumb | The optical processes in skin tissue, including reflection, scattering, absorption, and fluorescence. ]]&lt;br /&gt;
&lt;br /&gt;
=== Optical Processes in Skin Tissue ===&lt;br /&gt;
&lt;br /&gt;
When shining light into the skin, there are multiple light-matter interaction processes happening simultaneously, including reflection, absorption, scattering, and fluorescence as depicted in the figure below. &lt;br /&gt;
&lt;br /&gt;
The key process in this study is fluorescence. When short wavelength photon is absorbed, the material will re-emit photon at a longer wavelength and smaller energy. In the epidermis layer of the skin tissue, there are two fluorescence molecules, FAD and NADH, which are related to metabolic activities of cells. By measuring the fluorescence activities, one can monitor the localized concentration of FAD and NADH in the epidermis layer, therefore acquiring early signs on potnetial dysplasia. To model the fluorescence activities in the epidermis layer, the fluorophore is assumed to be uniformly distributed in the epidermis layer as a solution while the dysplastic region can be regarded as some localized volume with a different concentration comparing to the surrounding medium. &lt;br /&gt;
&lt;br /&gt;
Reflection refers to the back-scatter of photon at the interface between different materials when the index of refraction changes. Since the main composition of human skin is water, the variation of index of refraction is minor therefore there is negligible amount of reflection inside human skin. The strongest reflection happens at the surface of skin where photon hits the skin tissue from air. This can result in a spectral reduction of the number of photons actually entering into the skin, which results in a reduction in the actual fluorescence signal strength. &lt;br /&gt;
&lt;br /&gt;
Absorption is an intrinsic property of light-matter interaction where the amplitude of electromagnetic field attenuates as propagating. The absorption in a solution can be quatitatively described using the Beer-Lambert law, where the intensity of light decay exponentially as it travels in the absorptive medium. The decay rate is characterized by the absorption coefficient &amp;lt;math&amp;gt; \mu_\alpha &amp;lt;/math&amp;gt; which is a function of the solvend absorpsivity and its concentration. In human skin tissue, the total amount of absorption can be decomposed into several different components, including absorption from water, fat, melanin, and blood content, which can be cast by an empirical equation [REF]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; mu_{\alpha} =BS\mu_{\alpha,oxy} + B (1-S) \mu_{\alpha,deoxy} + W\mu_{\alpha,water} + F\mu_{\alpha,fat} + M\mu_{\alpha,melanosome} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The scattering process refers to the change in the direction of motion when the photon interacts with the material (mainly the nuclei). In the actual scenario of fluorescence detection, the scattering process can result in two consequences including the attenuation of number of photons in the forward propagating direction, and introducing distortion to the localized signal. The second consequence is the critical factor of reducing the signal to noise ratio, as the localized signal from the dysplasia is smeared by the uncertain scattering processes.&lt;br /&gt;
&lt;br /&gt;
== Methods ==&lt;br /&gt;
&lt;br /&gt;
=== Monte Carlo Simulation ===&lt;br /&gt;
&lt;br /&gt;
Monte Carlo simulations is a useful tool for modeling and understanding the intricate behaviors of light propagation through tissues. These simulations rely on probabilistic algorithms that simulate numerous random trajectories of photons within a medium, enabling the prediction and analysis of light transport in complex systems. These trajectories are based on scattering events and the optical properties of the medium. As photons travel, they undergo interactions, either scattering off structures within the tissue or getting absorbed. The simulations track the path lengths and angles of these photons, ultimately predicting the reflectance and absorption profiles. &lt;br /&gt;
&lt;br /&gt;
To simulate fluorescence, an initial simulation models the absorption of incident photons by fluorescent molecules like FAD or other fluorophores. The resulting absorption profile is then used as a source for fluorescent light of a different wavelength and the Monte Carlo algorithm is applied again.&lt;br /&gt;
&lt;br /&gt;
=== MCMatlab ===&lt;br /&gt;
&lt;br /&gt;
We decided to use MCmatlab based on a class project from last year, where it was implemented to simulate diffuse reflectance of different oxygenation levels for various skin types. &lt;br /&gt;
&lt;br /&gt;
In MCMatlab a medium is defined by specifying a set of parameters&amp;lt;math&amp;gt;^2&amp;lt;/math&amp;gt;. The relevant parameters in our simulation are: Absorption coefficient ‘&amp;lt;math&amp;gt;\mu_a&amp;lt;/math&amp;gt;’, Scattering coefficient ‘&amp;lt;math&amp;gt;\mu_s&amp;lt;/math&amp;gt;’, Emission spectrum ‘&amp;lt;math&amp;gt;\epsilon_{\lambda}&amp;lt;/math&amp;gt;’, Quantum yield &#039;QY&#039;, Henyey-Greenstein Scattering anisotropy factor ‘g’ and Refractive Index ‘n’. &lt;br /&gt;
&lt;br /&gt;
All quantities are a function of wavelength. The absorption coefficient is given in units of cm&amp;lt;math&amp;gt;^{-1}&amp;lt;/math&amp;gt;. The scattering coefficient is expressed as the fraction of photons getting scattered while traveling in a medium per unit distance. The emission spectrum describes the relative spectral power emitted for each wavelength. The quantum yield is defined as the number of photons emitted per absorbed photons. Henyey-Greenstein Scattering anisotropy factor has a value between 0 and 1 and  quantifies the degree of angular distribution in the scattering of photons within a medium. More concretely, g = 0 signifies purely isotropic scattering, indicating an equal probability of scattering in all directions while g = 1 represents completely forward-peaked scattering, indicating a strong preference for photons to be scattered in the forward direction. See referenced documentation for full details about all parameters. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Equivalent Model of Fluorophore Solution ===&lt;br /&gt;
When considering the optical response of the epidermis layer for blue light, absorption occurs both directly in FAD as well as in the rest of the tissue. In MCmatlab, a material can only be defined by a single absorption coefficient and emissivity spectrum. This presents a problem since absorption from surrounding tissue artificially contribute to FAD fluorescence in the model. Unfortunately,  this yields an unacceptable degree of inaccuracy as the overall absorption by the tissue is large compared to the absorption in FAD, due to its low concentration. In other words, the majority of the fluorescence would come from absorption in tissue which normally does not fluoresce. This also makes it hard to model subtle changes in FAD levels due to the strong artificial fluorescence background.&lt;br /&gt;
&lt;br /&gt;
[[File:model.png|500px|thumb|center|The multilayer model for fluorescence Monte Carlo simulation. ]]&lt;br /&gt;
&lt;br /&gt;
To solve this issue, we introduce a multilayer model where FAD molecules distributed in a volume is collected into thin planes spread across the volume (see Figure 1). By separating FAD from the rest of the tissue components, we can define two separate media in MCmatlab with their respective optical properties, avoiding the issue of artificial fluorescence. However, changing the geometry in this way will also affect the optical response. Below, we derive an expression to correct for the geometrical change. &lt;br /&gt;
&lt;br /&gt;
The total optical absorption can be described as:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \propto \int dV (-J)\cdot E = \int dV (-i\omega\varepsilon_0 \chi |E|^2) = \int dV \omega\varepsilon_0 \chi&#039;&#039; |E|^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;J&amp;lt;/math&amp;gt; is the current density, &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; is the electric field, &amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; is the angular frequency of light, &amp;lt;math&amp;gt; \varepsilon_0&amp;lt;/math&amp;gt;  is the free space electric permittivity, &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  is the material susceptibility, and &amp;lt;math&amp;gt;\chi&#039;&#039;&amp;lt;/math&amp;gt; is the imaginary part of &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  representing the optical absorption of a certain material. Under the representation of Beer-Lambert law, the electric field penetrating in the skin can be described as an exponential decay: &amp;lt;math&amp;gt; E = E_0 \exp(-\mu_\alpha z) &amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; is the material absorpsivity in the unit of [cm]&amp;lt;math&amp;gt;^{-1}&amp;lt;/math&amp;gt;. Substituting the exponentially decaying electric field into the absorption expression and applying our one-dimensional multilayer geometry: &lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \cong A \int_{0}^{L_z} dz \exp(-2\mu_\alpha z) = A\frac{1-\exp(-2\mu_\alpha L_z)}{2\mu_\alpha} &amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;L_z&amp;lt;/math&amp;gt; is the total length in z direction. To have the same amount of absorption in the fluorophore when using the multilayer model, we need to equivalently adjust the optical property &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; of the material to balance the effect of shrinking the volume occupied by the fluorophore. Gathering the fluorophore into a thin slab centered at &amp;lt;math&amp;gt;L_z/2&amp;lt;/math&amp;gt;, the absorption here is:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt;  \cong A \int_{L_z/2-\Delta{z}/2}^{L_z/2+\Delta{z}/2} dz \exp(-2\mu_\alpha&#039; z)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; = A\frac{\exp(-\mu_\alpha&#039;L_z)(\exp(\mu_\alpha&#039;\Delta{z})-\exp(-\mu_\alpha&#039;\Delta{z}))}{2\mu_\alpha&#039;}\cong A\exp(-\mu_\alpha&#039;L_z)\Delta{z}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Equaling the absorption and assuming the absorpsivity of FAD is small (&amp;lt;math&amp;gt;\mu_\alpha L_z\ll1&amp;lt;/math&amp;gt;), one can extract an approximate expression for the equivalent absorpsivity:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;    \mu_\alpha&#039; = \frac{1}{L_z}\log(\frac{L_z}{\Delta{z}}). &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using the equivalent absorpsivity correction, the total absorption is the same. In addition, the blue photon absorbed by FAD will result in the fluorescence emission, such that the correct FAD fluorescence activity can be simulated.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Beer-Lambert: Absorbance A is given by &lt;br /&gt;
&amp;lt;math&amp;gt; A= \mu_acl &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for this to be constant in both geometries, we get the relationship:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \mu_{a}cl=\mu_{a}&#039;c&#039;l&#039; &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Thus, &amp;lt;math&amp;gt; \mu_{a}&#039;c&#039;=\mu_{a}c \frac{L_z}{\Delta z} &amp;lt;/math&amp;gt;. This means that we can either change the concentration of the absorption coefficient to compensate for the reduced volume. This hold true as long as the field variation across the volume is linear. This is true when &amp;lt;math&amp;gt;\mu_\alpha L_z\ll1&amp;lt;/math&amp;gt;, since the field decay is approximately linear for a small change in z: &amp;lt;math&amp;gt;\exp(-\mu_\alpha&#039;z) \approx 1-\mu_\alpha&#039;z &amp;lt;/math&amp;gt; for small z. Thus, we can always compensate the change in geometry by choosing a sufficiently small spacing between the thin planes relative to the absorptivity of the material.&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
&lt;br /&gt;
The properties of the dysplastic region directly determines the fluorescence signal. Here, the properties refer to the geometry size, shape, the fluorophore concentration, and the location inside the skin tissue. Below, we will carry out a few computational and numerical experiments to qualitatively describe the dependence between the fluorescence signal strength and these factors. The simulation is conducted based on MCMatlab Fluorescence Monte Carlo simulation package. &lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Width ===&lt;br /&gt;
[[File:results1_updated.png|900px|thumb|center| (a) Schematic of the geometry, which is defined as a one-dimensional variation in FAD concentration with a low concentration at the central part representing the dysplastic region. (b) The actual fluorescence signal measured as a function of x position. The contrast signal is extracted as the ratio between the magnitude of the dip and the maximum signal level. (c) The dependence betweewn the width of the dysplastic region and the fluorescence contrast signal. (d) The measured fluorescence signal for each width value with an increasing width from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
For the first study, the simulated geometry is defined as a one-dimensional concentration variation in &amp;quot;x&amp;quot; as shown in the figure above with a lower FAD concentration at the central region representing the dysplastic region. The width of the dysplastic region is swept and the output fluorescence contrast signal is measured. It is shown that the contrast signal first goes up, then saturates at w~0.35 mm. At small width values, the signals are mixed up from the two edges where the concentration changes sharply, so that one cannot resolve the full contrast signal. When the two edges are separated sufficiently far, the full signal can be resolved, giving a relative fluorescence contrast as 0.3.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Depth ===&lt;br /&gt;
Next, the qualitative relation is studied between the depth of the dysplastic region inside the skin and the fluorescence contrast signal. In this case, the geometry is defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm and the thickness to 0.1 mm. The depth is set as the swept parameter, and it is defined as the distance between the top surface of the epidermis layer and the top surface of the rectangular wire. &lt;br /&gt;
&lt;br /&gt;
[[File:results2_updated.png|600px|thumb|center| (a) Schematic of the geometry, where the FAD concentration inside the rectangular rod is lower, representing the dysplastic region. The depth of the rectangular wire is swept. (b) The dependence betweewn the depth of the dysplastic region and the fluorescence contrast signal. The red dashed line illustrates an exponential fitting of the simulation results. (c) The measured fluorescence signal for each depth value with an increasing depth from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that the fluorescence contrast signal decreases as the depth increases, which agrees with intuition. As for a deeper location inside the skin, it takes farther distance for the fluorescent light to travel out, therefore the distortion introduced by the scattering events as the light propagates through the skin tissue is stronger. In addition, the attenuation from both scattering and absorption is stronger as well, which further reduces the SNR. For depth greater than 0.1 mm, the contrast signal strength is nearly vanishing.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the FAD Concentration Difference ===&lt;br /&gt;
Similarly, the strength of the contrast signal should also be a function of the concentration difference of FAD between the dysplastic and the healthy tissue. The geometry is again defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm, the thickness to 0.1 mm, and the depth is set to 0.04 mm. The volumetric concentration of FAD in the healthy region is fixed to 0.2 while the FAD concentration in the dysplastic region is varied from 0 to 0.2. &lt;br /&gt;
&lt;br /&gt;
[[File:results32_updated.png|900px|thumb|center| (a,c) Schematic of the geometry, (a) has a shallower dysplastic region while it is deeper in (c). The FAD concentration inside the rectangular rod is swept. (b,d) The dependence betweewn the concentration difference and the fluorescence contrast signal. (c) The measured fluorescence signal for each concentration value with a decreasing concentration contrast from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that for 0.04 mm as the depth, the fluorescence contrast signal is linearly proportional to the FAD concentration difference, which again agrees with intuition. The concentration difference determines the distribution in the number of fluorescence emitter, which is equivalent to the source and directly proportional to the fluorescence intensity. When increasing the depth of the rectangular wire to 0.1 mm, again the linear dependence is shown however with an overall lower amplitude, representing the decrease in the number of fluorescence emitter.&lt;br /&gt;
&lt;br /&gt;
=== Image Quality and Simulation Limitations  ===&lt;br /&gt;
Optical Monte Carlo simulations, while powerful and versatile, are computationally demanding due to the nature of light propagation and the need to model a vast number of photon trajectories. The computational expense arises from the necessity to track individual photon interactions and their probabilistic behavior as they scatter, absorb, and move through the medium.  Modeling three-dimensional environments adds complexity, as simulations must account for photon movements in all spatial directions within the medium. To illustrate this, a regular high performance laptop were able to simulate about 10&amp;lt;math&amp;gt;^6&amp;lt;/math&amp;gt; photons per minute, while a 1mW light source at 400 nm emits 10&amp;lt;math&amp;gt;^{15}&amp;lt;/math&amp;gt; photons per second. This can be a problem when trying to model realistic scenarios with low signal to noise. Figure 5 shows a set of images of an embedded dysplastic lesion in healthy tissue, with varying number of simulated photons. The images corresponds to a total simulation time of 4, 40 and 400 minutes, respectively (half to acquire the absorption profile and half for the fluorescence signal).&lt;br /&gt;
&lt;br /&gt;
[[File:images_SImTime.png|900px|thumb|center| Image quality as a function of simulation number of photons simulated. Top) Collected images of an embedded dysplastic lesion inside healthy tissue. Bottom) Cross section of the image intensity.  ]]&lt;br /&gt;
&lt;br /&gt;
== Conclusions ==&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
You can write math equations as follows:&lt;br /&gt;
&amp;lt;math&amp;gt;y = x^2 + 5 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can include images as follows (you will need to upload the image first using the toolbox on the left bar, using the &amp;quot;Upload file&amp;quot; link).&lt;br /&gt;
&lt;br /&gt;
[[File:Snip 20210106183207.png|200px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
1. Y. Xu et al. Optical Imaging in the Diagnosis of OPMDs Malignant Transformation, Journal of Dental Research 2022, Vol. 101(7) 749–758&lt;br /&gt;
&lt;br /&gt;
2. MCmatlab package and documentation: https://github.com/ankrh/MCmatlab&lt;/div&gt;</summary>
		<author><name>Bohan</name></author>
	</entry>
	<entry>
		<id>http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=34023</id>
		<title>Medical imaging: Simulations of reflectance and fluorescence of human tissue</title>
		<link rel="alternate" type="text/html" href="http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=34023"/>
		<updated>2023-12-18T17:57:59Z</updated>

		<summary type="html">&lt;p&gt;Bohan: /* Optical Processes in Skin Tissue */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
Squamous dysplasia, a precursor to squamous cell carcinoma, represents a spectrum of histological alterations within the epithelium, characterized by abnormal cellular morphology and metabolism. Early identification is critical to prevent the progression to invasive carcinoma. Auto fluorescent imaging (AFI) has emerged as a promising non-invasive technique for the detection of squamous dysplasia. Flavin adenine dinucleotide (FAD), an essential co-factor in cellular oxidative metabolism, undergoes changes in concentration and redox state during dysplastic transformations. Studies indicate a correlation between dysplastic progression and altered FAD levels, leading to variations in tissue fluorescence&amp;lt;math&amp;gt;^1&amp;lt;/math&amp;gt;. Lower FAD concentrations in dysplastic areas manifest as decreased fluorescence intensity level, which in principle can be imaged with AFI.&lt;br /&gt;
&lt;br /&gt;
AFI uses the intrinsic fluorescent properties of endogenous molecules within tissues. Under appropriate excitation wavelengths, endogenous fluorophores emit light, providing real-time visualization of tissue morphology. The altered metabolic activity and subsequent changes in FAD concentrations in dysplastic tissues offer a distinct fluorescence pattern that is in principle discernible through AFI.&lt;br /&gt;
&lt;br /&gt;
In clinical settings, AFI demonstrates promise as a non-invasive tool for identifying early dysplastic lesions. Its ability to highlight subtle changes in tissue autofluorescence can aid in targeted biopsies and delineation of margins during surgical interventions. In this project, we explore imaging of dysplastic tissues by using optical Monte Carlo based fluorescence simulations. We identify qualitative trends of image quality with respect to dysplastic lesion size, depth, and fluorophore concentration change. Understanding how photons interact with fluorophores, the probability of excitation, and the emitted fluorescence intensity can assist in predicting and interpreting experimental fluorescence measurements.&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
=== Optical Processes in Skin Tissue ===&lt;br /&gt;
&lt;br /&gt;
[[File:optical.png|300px|right| thumb | The optical processes in skin tissue, including reflection, scattering, absorption, and fluorescence. ]]&lt;br /&gt;
&lt;br /&gt;
When shining light into the skin, there are multiple light-matter interaction processes happening simultaneously, including reflection, absorption, scattering, and fluorescence as depicted in the figure below. &lt;br /&gt;
&lt;br /&gt;
The key process in this study is fluorescence. When short wavelength photon is absorbed, the material will re-emit photon at a longer wavelength and smaller energy. In the epidermis layer of the skin tissue, there are two fluorescence molecules, FAD and NADH, which are related to metabolic activities of cells. By measuring the fluorescence activities, one can monitor the localized concentration of FAD and NADH in the epidermis layer, therefore acquiring early signs on potnetial dysplasia. To model the fluorescence activities in the epidermis layer, the fluorophore is assumed to be uniformly distributed in the epidermis layer as a solution while the dysplastic region can be regarded as some localized volume with a different concentration comparing to the surrounding medium. &lt;br /&gt;
&lt;br /&gt;
Reflection refers to the back-scatter of photon at the interface between different materials when the index of refraction changes. Since the main composition of human skin is water, the variation of index of refraction is minor therefore there is negligible amount of reflection inside human skin. The strongest reflection happens at the surface of skin where photon hits the skin tissue from air. This can result in a spectral reduction of the number of photons actually entering into the skin, which results in a reduction in the actual fluorescence signal strength. &lt;br /&gt;
&lt;br /&gt;
Absorption is an intrinsic property of light-matter interaction where the amplitude of electromagnetic field attenuates as propagating. The absorption in a solution can be quatitatively described using the Beer-Lambert law, where the intensity of light decay exponentially as it travels in the absorptive medium. The decay rate is characterized by the absorption coefficient &amp;lt;math&amp;gt; \mu_\alpha &amp;lt;/math&amp;gt; which is a function of the solvend absorpsivity and its concentration. In human skin tissue, the total amount of absorption can be decomposed into several different components, including absorption from water, fat, melanin, and blood content, which can be cast by an empirical equation [REF]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; mu_{\alpha} =BS\mu_{\alpha,oxy} + B (1-S) \mu_{\alpha,deoxy} + W\mu_{\alpha,water} + F\mu_{\alpha,fat} + M\mu_{\alpha,melanosome} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The scattering process refers to the change in the direction of motion when the photon interacts with the material (mainly the nuclei). In the actual scenario of fluorescence detection, the scattering process can result in two consequences including the attenuation of number of photons in the forward propagating direction, and introducing distortion to the localized signal. The second consequence is the critical factor of reducing the signal to noise ratio, as the localized signal from the dysplasia is smeared by the uncertain scattering processes.&lt;br /&gt;
&lt;br /&gt;
== Methods ==&lt;br /&gt;
&lt;br /&gt;
=== Monte Carlo Simulation ===&lt;br /&gt;
&lt;br /&gt;
Monte Carlo simulations is a useful tool for modeling and understanding the intricate behaviors of light propagation through tissues. These simulations rely on probabilistic algorithms that simulate numerous random trajectories of photons within a medium, enabling the prediction and analysis of light transport in complex systems. These trajectories are based on scattering events and the optical properties of the medium. As photons travel, they undergo interactions, either scattering off structures within the tissue or getting absorbed. The simulations track the path lengths and angles of these photons, ultimately predicting the reflectance and absorption profiles. &lt;br /&gt;
&lt;br /&gt;
To simulate fluorescence, an initial simulation models the absorption of incident photons by fluorescent molecules like FAD or other fluorophores. The resulting absorption profile is then used as a source for fluorescent light of a different wavelength and the Monte Carlo algorithm is applied again.&lt;br /&gt;
&lt;br /&gt;
=== MCMatlab ===&lt;br /&gt;
&lt;br /&gt;
We decided to use MCmatlab based on a class project from last year, where it was implemented to simulate diffuse reflectance of different oxygenation levels for various skin types. &lt;br /&gt;
&lt;br /&gt;
In MCMatlab a medium is defined by specifying a set of parameters&amp;lt;math&amp;gt;^2&amp;lt;/math&amp;gt;. The relevant parameters in our simulation are: Absorption coefficient ‘&amp;lt;math&amp;gt;\mu_a&amp;lt;/math&amp;gt;’, Scattering coefficient ‘&amp;lt;math&amp;gt;\mu_s&amp;lt;/math&amp;gt;’, Emission spectrum ‘&amp;lt;math&amp;gt;\epsilon_{\lambda}&amp;lt;/math&amp;gt;’, Quantum yield &#039;QY&#039;, Henyey-Greenstein Scattering anisotropy factor ‘g’ and Refractive Index ‘n’. &lt;br /&gt;
&lt;br /&gt;
All quantities are a function of wavelength. The absorption coefficient is given in units of cm&amp;lt;math&amp;gt;^{-1}&amp;lt;/math&amp;gt;. The scattering coefficient is expressed as the fraction of photons getting scattered while traveling in a medium per unit distance. The emission spectrum describes the relative spectral power emitted for each wavelength. The quantum yield is defined as the number of photons emitted per absorbed photons. Henyey-Greenstein Scattering anisotropy factor has a value between 0 and 1 and  quantifies the degree of angular distribution in the scattering of photons within a medium. More concretely, g = 0 signifies purely isotropic scattering, indicating an equal probability of scattering in all directions while g = 1 represents completely forward-peaked scattering, indicating a strong preference for photons to be scattered in the forward direction. See referenced documentation for full details about all parameters. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Equivalent Model of Fluorophore Solution ===&lt;br /&gt;
When considering the optical response of the epidermis layer for blue light, absorption occurs both directly in FAD as well as in the rest of the tissue. In MCmatlab, a material can only be defined by a single absorption coefficient and emissivity spectrum. This presents a problem since absorption from surrounding tissue artificially contribute to FAD fluorescence in the model. Unfortunately,  this yields an unacceptable degree of inaccuracy as the overall absorption by the tissue is large compared to the absorption in FAD, due to its low concentration. In other words, the majority of the fluorescence would come from absorption in tissue which normally does not fluoresce. This also makes it hard to model subtle changes in FAD levels due to the strong artificial fluorescence background.&lt;br /&gt;
&lt;br /&gt;
[[File:model.png|500px|thumb|center|The multilayer model for fluorescence Monte Carlo simulation. ]]&lt;br /&gt;
&lt;br /&gt;
To solve this issue, we introduce a multilayer model where FAD molecules distributed in a volume is collected into thin planes spread across the volume (see Figure 1). By separating FAD from the rest of the tissue components, we can define two separate media in MCmatlab with their respective optical properties, avoiding the issue of artificial fluorescence. However, changing the geometry in this way will also affect the optical response. Below, we derive an expression to correct for the geometrical change. &lt;br /&gt;
&lt;br /&gt;
The total optical absorption can be described as:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \propto \int dV (-J)\cdot E = \int dV (-i\omega\varepsilon_0 \chi |E|^2) = \int dV \omega\varepsilon_0 \chi&#039;&#039; |E|^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;J&amp;lt;/math&amp;gt; is the current density, &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; is the electric field, &amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; is the angular frequency of light, &amp;lt;math&amp;gt; \varepsilon_0&amp;lt;/math&amp;gt;  is the free space electric permittivity, &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  is the material susceptibility, and &amp;lt;math&amp;gt;\chi&#039;&#039;&amp;lt;/math&amp;gt; is the imaginary part of &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  representing the optical absorption of a certain material. Under the representation of Beer-Lambert law, the electric field penetrating in the skin can be described as an exponential decay: &amp;lt;math&amp;gt; E = E_0 \exp(-\mu_\alpha z) &amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; is the material absorpsivity in the unit of [cm]&amp;lt;math&amp;gt;^{-1}&amp;lt;/math&amp;gt;. Substituting the exponentially decaying electric field into the absorption expression and applying our one-dimensional multilayer geometry: &lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \cong A \int_{0}^{L_z} dz \exp(-2\mu_\alpha z) = A\frac{1-\exp(-2\mu_\alpha L_z)}{2\mu_\alpha} &amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;L_z&amp;lt;/math&amp;gt; is the total length in z direction. To have the same amount of absorption in the fluorophore when using the multilayer model, we need to equivalently adjust the optical property &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; of the material to balance the effect of shrinking the volume occupied by the fluorophore. Gathering the fluorophore into a thin slab centered at &amp;lt;math&amp;gt;L_z/2&amp;lt;/math&amp;gt;, the absorption here is:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt;  \cong A \int_{L_z/2-\Delta{z}/2}^{L_z/2+\Delta{z}/2} dz \exp(-2\mu_\alpha&#039; z)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; = A\frac{\exp(-\mu_\alpha&#039;L_z)(\exp(\mu_\alpha&#039;\Delta{z})-\exp(-\mu_\alpha&#039;\Delta{z}))}{2\mu_\alpha&#039;}\cong A\exp(-\mu_\alpha&#039;L_z)\Delta{z}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Equaling the absorption and assuming the absorpsivity of FAD is small (&amp;lt;math&amp;gt;\mu_\alpha L_z\ll1&amp;lt;/math&amp;gt;), one can extract an approximate expression for the equivalent absorpsivity:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;    \mu_\alpha&#039; = \frac{1}{L_z}\log(\frac{L_z}{\Delta{z}}). &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using the equivalent absorpsivity correction, the total absorption is the same. In addition, the blue photon absorbed by FAD will result in the fluorescence emission, such that the correct FAD fluorescence activity can be simulated.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Beer-Lambert: Absorbance A is given by &lt;br /&gt;
&amp;lt;math&amp;gt; A= \mu_acl &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for this to be constant in both geometries, we get the relationship:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \mu_{a}cl=\mu_{a}&#039;c&#039;l&#039; &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Thus, &amp;lt;math&amp;gt; \mu_{a}&#039;c&#039;=\mu_{a}c \frac{L_z}{\Delta z} &amp;lt;/math&amp;gt;. This means that we can either change the concentration of the absorption coefficient to compensate for the reduced volume. This hold true as long as the field variation across the volume is linear. This is true when &amp;lt;math&amp;gt;\mu_\alpha L_z\ll1&amp;lt;/math&amp;gt;, since the field decay is approximately linear for a small change in z: &amp;lt;math&amp;gt;\exp(-\mu_\alpha&#039;z) \approx 1-\mu_\alpha&#039;z &amp;lt;/math&amp;gt; for small z. Thus, we can always compensate the change in geometry by choosing a sufficiently small spacing between the thin planes relative to the absorptivity of the material.&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
&lt;br /&gt;
The properties of the dysplastic region directly determines the fluorescence signal. Here, the properties refer to the geometry size, shape, the fluorophore concentration, and the location inside the skin tissue. Below, we will carry out a few computational and numerical experiments to qualitatively describe the dependence between the fluorescence signal strength and these factors. The simulation is conducted based on MCMatlab Fluorescence Monte Carlo simulation package. &lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Width ===&lt;br /&gt;
[[File:results1_updated.png|900px|thumb|center| (a) Schematic of the geometry, which is defined as a one-dimensional variation in FAD concentration with a low concentration at the central part representing the dysplastic region. (b) The actual fluorescence signal measured as a function of x position. The contrast signal is extracted as the ratio between the magnitude of the dip and the maximum signal level. (c) The dependence betweewn the width of the dysplastic region and the fluorescence contrast signal. (d) The measured fluorescence signal for each width value with an increasing width from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
For the first study, the simulated geometry is defined as a one-dimensional concentration variation in &amp;quot;x&amp;quot; as shown in the figure above with a lower FAD concentration at the central region representing the dysplastic region. The width of the dysplastic region is swept and the output fluorescence contrast signal is measured. It is shown that the contrast signal first goes up, then saturates at w~0.35 mm. At small width values, the signals are mixed up from the two edges where the concentration changes sharply, so that one cannot resolve the full contrast signal. When the two edges are separated sufficiently far, the full signal can be resolved, giving a relative fluorescence contrast as 0.3.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Depth ===&lt;br /&gt;
Next, the qualitative relation is studied between the depth of the dysplastic region inside the skin and the fluorescence contrast signal. In this case, the geometry is defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm and the thickness to 0.1 mm. The depth is set as the swept parameter, and it is defined as the distance between the top surface of the epidermis layer and the top surface of the rectangular wire. &lt;br /&gt;
&lt;br /&gt;
[[File:results2_updated.png|600px|thumb|center| (a) Schematic of the geometry, where the FAD concentration inside the rectangular rod is lower, representing the dysplastic region. The depth of the rectangular wire is swept. (b) The dependence betweewn the depth of the dysplastic region and the fluorescence contrast signal. The red dashed line illustrates an exponential fitting of the simulation results. (c) The measured fluorescence signal for each depth value with an increasing depth from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that the fluorescence contrast signal decreases as the depth increases, which agrees with intuition. As for a deeper location inside the skin, it takes farther distance for the fluorescent light to travel out, therefore the distortion introduced by the scattering events as the light propagates through the skin tissue is stronger. In addition, the attenuation from both scattering and absorption is stronger as well, which further reduces the SNR. For depth greater than 0.1 mm, the contrast signal strength is nearly vanishing.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the FAD Concentration Difference ===&lt;br /&gt;
Similarly, the strength of the contrast signal should also be a function of the concentration difference of FAD between the dysplastic and the healthy tissue. The geometry is again defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm, the thickness to 0.1 mm, and the depth is set to 0.04 mm. The volumetric concentration of FAD in the healthy region is fixed to 0.2 while the FAD concentration in the dysplastic region is varied from 0 to 0.2. &lt;br /&gt;
&lt;br /&gt;
[[File:results32_updated.png|900px|thumb|center| (a,c) Schematic of the geometry, (a) has a shallower dysplastic region while it is deeper in (c). The FAD concentration inside the rectangular rod is swept. (b,d) The dependence betweewn the concentration difference and the fluorescence contrast signal. (c) The measured fluorescence signal for each concentration value with a decreasing concentration contrast from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that for 0.04 mm as the depth, the fluorescence contrast signal is linearly proportional to the FAD concentration difference, which again agrees with intuition. The concentration difference determines the distribution in the number of fluorescence emitter, which is equivalent to the source and directly proportional to the fluorescence intensity. When increasing the depth of the rectangular wire to 0.1 mm, again the linear dependence is shown however with an overall lower amplitude, representing the decrease in the number of fluorescence emitter.&lt;br /&gt;
&lt;br /&gt;
=== Image Quality and Simulation Limitations  ===&lt;br /&gt;
Optical Monte Carlo simulations, while powerful and versatile, are computationally demanding due to the nature of light propagation and the need to model a vast number of photon trajectories. The computational expense arises from the necessity to track individual photon interactions and their probabilistic behavior as they scatter, absorb, and move through the medium.  Modeling three-dimensional environments adds complexity, as simulations must account for photon movements in all spatial directions within the medium. To illustrate this, a regular high performance laptop were able to simulate about 10&amp;lt;math&amp;gt;^6&amp;lt;/math&amp;gt; photons per minute, while a 1mW light source at 400 nm emits 10&amp;lt;math&amp;gt;^{15}&amp;lt;/math&amp;gt; photons per second. This can be a problem when trying to model realistic scenarios with low signal to noise. Figure 5 shows a set of images of an embedded dysplastic lesion in healthy tissue, with varying number of simulated photons. The images corresponds to a total simulation time of 4, 40 and 400 minutes, respectively (half to acquire the absorption profile and half for the fluorescence signal).&lt;br /&gt;
&lt;br /&gt;
[[File:images_SImTime.png|900px|thumb|center| Image quality as a function of simulation number of photons simulated. Top) Collected images of an embedded dysplastic lesion inside healthy tissue. Bottom) Cross section of the image intensity.  ]]&lt;br /&gt;
&lt;br /&gt;
== Conclusions ==&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
You can write math equations as follows:&lt;br /&gt;
&amp;lt;math&amp;gt;y = x^2 + 5 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can include images as follows (you will need to upload the image first using the toolbox on the left bar, using the &amp;quot;Upload file&amp;quot; link).&lt;br /&gt;
&lt;br /&gt;
[[File:Snip 20210106183207.png|200px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
1. Y. Xu et al. Optical Imaging in the Diagnosis of OPMDs Malignant Transformation, Journal of Dental Research 2022, Vol. 101(7) 749–758&lt;br /&gt;
&lt;br /&gt;
2. MCmatlab package and documentation: https://github.com/ankrh/MCmatlab&lt;/div&gt;</summary>
		<author><name>Bohan</name></author>
	</entry>
	<entry>
		<id>http://vista.su.domains/psych221wiki/index.php?title=File:Optical.png&amp;diff=34021</id>
		<title>File:Optical.png</title>
		<link rel="alternate" type="text/html" href="http://vista.su.domains/psych221wiki/index.php?title=File:Optical.png&amp;diff=34021"/>
		<updated>2023-12-18T17:57:15Z</updated>

		<summary type="html">&lt;p&gt;Bohan: Bohan uploaded a new version of File:Optical.png&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Bohan</name></author>
	</entry>
	<entry>
		<id>http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=34011</id>
		<title>Medical imaging: Simulations of reflectance and fluorescence of human tissue</title>
		<link rel="alternate" type="text/html" href="http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=34011"/>
		<updated>2023-12-18T17:52:00Z</updated>

		<summary type="html">&lt;p&gt;Bohan: /* Optical Processes in Skin Tissue */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
Squamous dysplasia, a precursor to squamous cell carcinoma, represents a spectrum of histological alterations within the epithelium, characterized by abnormal cellular morphology and metabolism. Early identification is critical to prevent the progression to invasive carcinoma. Auto fluorescent imaging (AFI) has emerged as a promising non-invasive technique for the detection of squamous dysplasia. Flavin adenine dinucleotide (FAD), an essential co-factor in cellular oxidative metabolism, undergoes changes in concentration and redox state during dysplastic transformations. Studies indicate a correlation between dysplastic progression and altered FAD levels, leading to variations in tissue fluorescence&amp;lt;math&amp;gt;^1&amp;lt;/math&amp;gt;. Lower FAD concentrations in dysplastic areas manifest as decreased fluorescence intensity level, which in principle can be imaged with AFI.&lt;br /&gt;
&lt;br /&gt;
AFI uses the intrinsic fluorescent properties of endogenous molecules within tissues. Under appropriate excitation wavelengths, endogenous fluorophores emit light, providing real-time visualization of tissue morphology. The altered metabolic activity and subsequent changes in FAD concentrations in dysplastic tissues offer a distinct fluorescence pattern that is in principle discernible through AFI.&lt;br /&gt;
&lt;br /&gt;
In clinical settings, AFI demonstrates promise as a non-invasive tool for identifying early dysplastic lesions. Its ability to highlight subtle changes in tissue autofluorescence can aid in targeted biopsies and delineation of margins during surgical interventions. In this project, we explore imaging of dysplastic tissues by using optical Monte Carlo based fluorescence simulations. We identify qualitative trends of image quality with respect to dysplastic lesion size, depth, and fluorophore concentration change. Understanding how photons interact with fluorophores, the probability of excitation, and the emitted fluorescence intensity can assist in predicting and interpreting experimental fluorescence measurements.&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
=== Optical Processes in Skin Tissue ===&lt;br /&gt;
&lt;br /&gt;
[[File:optical.png|300px|right| The optical processes in skin tissue, including reflection, scattering, absorption, and fluorescence. ]]&lt;br /&gt;
&lt;br /&gt;
When shining light into the skin, there are multiple light-matter interaction processes happening simultaneously, including reflection, absorption, scattering, and fluorescence as depicted in the figure below. &lt;br /&gt;
&lt;br /&gt;
The key process in this study is fluorescence. When short wavelength photon is absorbed, the material will re-emit photon at a longer wavelength and smaller energy. In the epidermis layer of the skin tissue, there are two fluorescence molecules, FAD and NADH, which are related to metabolic activities of cells. By measuring the fluorescence activities, one can monitor the localized concentration of FAD and NADH in the epidermis layer, therefore acquiring early signs on potnetial dysplasia. To model the fluorescence activities in the epidermis layer, the fluorophore is assumed to be uniformly distributed in the epidermis layer as a solution while the dysplastic region can be regarded as some localized volume with a different concentration comparing to the surrounding medium. &lt;br /&gt;
&lt;br /&gt;
Reflection refers to the back-scatter of photon at the interface between different materials when the index of refraction changes. Since the main composition of human skin is water, the variation of index of refraction is minor therefore there is negligible amount of reflection inside human skin. The strongest reflection happens at the surface of skin where photon hits the skin tissue from air. This can result in a spectral reduction of the number of photons actually entering into the skin, which results in a reduction in the actual fluorescence signal strength. &lt;br /&gt;
&lt;br /&gt;
Absorption is an intrinsic property of light-matter interaction where the amplitude of electromagnetic field attenuates as propagating. The absorption in a solution can be quatitatively described using the Beer-Lambert law, where the intensity of light decay exponentially as it travels in the absorptive medium. The decay rate is characterized by the absorption coefficient &amp;lt;math&amp;gt; \mu_\alpha &amp;lt;/math&amp;gt; which is a function of the solvend absorpsivity and its concentration. In human skin tissue, the total amount of absorption can be decomposed into several different components, including absorption from water, fat, melanin, and blood content, which can be cast by an empirical equation [REF]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; mu_{\alpha} =BS\mu_{\alpha,oxy} + B (1-S) \mu_{\alpha,deoxy} + W\mu_{\alpha,water} + F\mu_{\alpha,fat} + M\mu_{\alpha,melanosome} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The scattering process refers to the change in the direction of motion when the photon interacts with the material (mainly the nuclei). In the actual scenario of fluorescence detection, the scattering process can result in two consequences including the attenuation of number of photons in the forward propagating direction, and introducing distortion to the localized signal. The second consequence is the critical factor of reducing the signal to noise ratio, as the localized signal from the dysplasia is smeared by the uncertain scattering processes.&lt;br /&gt;
&lt;br /&gt;
== Methods ==&lt;br /&gt;
&lt;br /&gt;
=== Monte Carlo Simulation ===&lt;br /&gt;
&lt;br /&gt;
Monte Carlo simulations is a useful tool for modeling and understanding the intricate behaviors of light propagation through tissues. These simulations rely on probabilistic algorithms that simulate numerous random trajectories of photons within a medium, enabling the prediction and analysis of light transport in complex systems. These trajectories are based on scattering events and the optical properties of the medium. As photons travel, they undergo interactions, either scattering off structures within the tissue or getting absorbed. The simulations track the path lengths and angles of these photons, ultimately predicting the reflectance and absorption profiles. &lt;br /&gt;
&lt;br /&gt;
To simulate fluorescence, an initial simulation models the absorption of incident photons by fluorescent molecules like FAD or other fluorophores. The resulting absorption profile is then used as a source for fluorescent light of a different wavelength and the Monte Carlo algorithm is applied again.&lt;br /&gt;
&lt;br /&gt;
=== MCMatlab ===&lt;br /&gt;
&lt;br /&gt;
We decided to use MCmatlab based on a class project from last year, where it was implemented to simulate diffuse reflectance of different oxygenation levels for various skin types. &lt;br /&gt;
&lt;br /&gt;
In MCMatlab a medium is defined by specifying a set of parameters&amp;lt;math&amp;gt;^2&amp;lt;/math&amp;gt;. The relevant parameters in our simulation are: Absorption coefficient ‘&amp;lt;math&amp;gt;\mu_a&amp;lt;/math&amp;gt;’, Scattering coefficient ‘&amp;lt;math&amp;gt;\mu_s&amp;lt;/math&amp;gt;’, Emission spectrum ‘&amp;lt;math&amp;gt;\epsilon_{\lambda}&amp;lt;/math&amp;gt;’, Quantum yield &#039;QY&#039;, Henyey-Greenstein Scattering anisotropy factor ‘g’ and Refractive Index ‘n’. &lt;br /&gt;
&lt;br /&gt;
All quantities are a function of wavelength. The absorption coefficient is given in units of cm&amp;lt;math&amp;gt;^{-1}&amp;lt;/math&amp;gt;. The scattering coefficient is expressed as the fraction of photons getting scattered while traveling in a medium per unit distance. The emission spectrum describes the relative spectral power emitted for each wavelength. The quantum yield is defined as the number of photons emitted per absorbed photons. Henyey-Greenstein Scattering anisotropy factor has a value between 0 and 1 and  quantifies the degree of angular distribution in the scattering of photons within a medium. More concretely, g = 0 signifies purely isotropic scattering, indicating an equal probability of scattering in all directions while g = 1 represents completely forward-peaked scattering, indicating a strong preference for photons to be scattered in the forward direction. See referenced documentation for full details about all parameters. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Equivalent Model of Fluorophore Solution ===&lt;br /&gt;
When considering the optical response of the epidermis layer for blue light, absorption occurs both directly in FAD as well as in the rest of the tissue. In MCmatlab, a material can only be defined by a single absorption coefficient and emissivity spectrum. This presents a problem since absorption from surrounding tissue artificially contribute to FAD fluorescence in the model. Unfortunately,  this yields an unacceptable degree of inaccuracy as the overall absorption by the tissue is large compared to the absorption in FAD, due to its low concentration. In other words, the majority of the fluorescence would come from absorption in tissue which normally does not fluoresce. This also makes it hard to model subtle changes in FAD levels due to the strong artificial fluorescence background.&lt;br /&gt;
&lt;br /&gt;
[[File:model.png|500px|thumb|center|The multilayer model for fluorescence Monte Carlo simulation. ]]&lt;br /&gt;
&lt;br /&gt;
To solve this issue, we introduce a multilayer model where FAD molecules distributed in a volume is collected into thin planes spread across the volume (see Figure 1). By separating FAD from the rest of the tissue components, we can define two separate media in MCmatlab with their respective optical properties, avoiding the issue of artificial fluorescence. However, changing the geometry in this way will also affect the optical response. Below, we derive an expression to correct for the geometrical change. &lt;br /&gt;
&lt;br /&gt;
The total optical absorption can be described as:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \propto \int dV (-J)\cdot E = \int dV (-i\omega\varepsilon_0 \chi |E|^2) = \int dV \omega\varepsilon_0 \chi&#039;&#039; |E|^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;J&amp;lt;/math&amp;gt; is the current density, &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; is the electric field, &amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; is the angular frequency of light, &amp;lt;math&amp;gt; \varepsilon_0&amp;lt;/math&amp;gt;  is the free space electric permittivity, &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  is the material susceptibility, and &amp;lt;math&amp;gt;\chi&#039;&#039;&amp;lt;/math&amp;gt; is the imaginary part of &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  representing the optical absorption of a certain material. Under the representation of Beer-Lambert law, the electric field penetrating in the skin can be described as an exponential decay: &amp;lt;math&amp;gt; E = E_0 \exp(-\mu_\alpha z) &amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; is the material absorpsivity in the unit of [cm]&amp;lt;math&amp;gt;^{-1}&amp;lt;/math&amp;gt;. Substituting the exponentially decaying electric field into the absorption expression and applying our one-dimensional multilayer geometry: &lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \cong A \int_{0}^{L_z} dz \exp(-2\mu_\alpha z) = A\frac{1-\exp(-2\mu_\alpha L_z)}{2\mu_\alpha} &amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;L_z&amp;lt;/math&amp;gt; is the total length in z direction. To have the same amount of absorption in the fluorophore when using the multilayer model, we need to equivalently adjust the optical property &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; of the material to balance the effect of shrinking the volume occupied by the fluorophore. Gathering the fluorophore into a thin slab centered at &amp;lt;math&amp;gt;L_z/2&amp;lt;/math&amp;gt;, the absorption here is:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt;  \cong A \int_{L_z/2-\Delta{z}/2}^{L_z/2+\Delta{z}/2} dz \exp(-2\mu_\alpha&#039; z)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; = A\frac{\exp(-\mu_\alpha&#039;L_z)(\exp(\mu_\alpha&#039;\Delta{z})-\exp(-\mu_\alpha&#039;\Delta{z}))}{2\mu_\alpha&#039;}\cong A\exp(-\mu_\alpha&#039;L_z)\Delta{z}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Equaling the absorption and assuming the absorpsivity of FAD is small (&amp;lt;math&amp;gt;\mu_\alpha L_z\ll1&amp;lt;/math&amp;gt;), one can extract an approximate expression for the equivalent absorpsivity:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;    \mu_\alpha&#039; = \frac{1}{L_z}\log(\frac{L_z}{\Delta{z}}). &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using the equivalent absorpsivity correction, the total absorption is the same. In addition, the blue photon absorbed by FAD will result in the fluorescence emission, such that the correct FAD fluorescence activity can be simulated.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Beer-Lambert: Absorbance A is given by &lt;br /&gt;
&amp;lt;math&amp;gt; A= \mu_acl &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for this to be constant in both geometries, we get the relationship:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \mu_{a}cl=\mu_{a}&#039;c&#039;l&#039; &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Thus, &amp;lt;math&amp;gt; \mu_{a}&#039;c&#039;=\mu_{a}c \frac{L_z}{\Delta z} &amp;lt;/math&amp;gt;. This means that we can either change the concentration of the absorption coefficient to compensate for the reduced volume. This hold true as long as the field variation across the volume is linear. This is true when &amp;lt;math&amp;gt;\mu_\alpha L_z\ll1&amp;lt;/math&amp;gt;, since the field decay is approximately linear for a small change in z: &amp;lt;math&amp;gt;\exp(-\mu_\alpha&#039;x) \approx 1-\mu_\alpha&#039;z &amp;lt;/math&amp;gt; for small z. Thus, we can always compensate the change in geometry by choosing a sufficiently small spacing between the thin planes relative to the absorptivity of the material.&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
&lt;br /&gt;
The properties of the dysplastic region directly determines the fluorescence signal. Here, the properties refer to the geometry size, shape, the fluorophore concentration, and the location inside the skin tissue. Below, we will carry out a few computational and numerical experiments to qualitatively describe the dependence between the fluorescence signal strength and these factors. The simulation is conducted based on MCMatlab Fluorescence Monte Carlo simulation package. &lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Width ===&lt;br /&gt;
[[File:results1_updated.png|900px|thumb|center| (a) Schematic of the geometry, which is defined as a one-dimensional variation in FAD concentration with a low concentration at the central part representing the dysplastic region. (b) The actual fluorescence signal measured as a function of x position. The contrast signal is extracted as the ratio between the magnitude of the dip and the maximum signal level. (c) The dependence betweewn the width of the dysplastic region and the fluorescence contrast signal. (d) The measured fluorescence signal for each width value with an increasing width from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
For the first study, the simulated geometry is defined as a one-dimensional concentration variation in &amp;quot;x&amp;quot; as shown in the figure above with a lower FAD concentration at the central region representing the dysplastic region. The width of the dysplastic region is swept and the output fluorescence contrast signal is measured. It is shown that the contrast signal first goes up, then saturates at w~0.35 mm. At small width values, the signals are mixed up from the two edges where the concentration changes sharply, so that one cannot resolve the full contrast signal. When the two edges are separated sufficiently far, the full signal can be resolved, giving a relative fluorescence contrast as 0.3.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Depth ===&lt;br /&gt;
Next, the qualitative relation is studied between the depth of the dysplastic region inside the skin and the fluorescence contrast signal. In this case, the geometry is defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm and the thickness to 0.1 mm. The depth is set as the swept parameter, and it is defined as the distance between the top surface of the epidermis layer and the top surface of the rectangular wire. &lt;br /&gt;
&lt;br /&gt;
[[File:results2_updated.png|600px|thumb|center| (a) Schematic of the geometry, where the FAD concentration inside the rectangular rod is lower, representing the dysplastic region. The depth of the rectangular wire is swept. (b) The dependence betweewn the depth of the dysplastic region and the fluorescence contrast signal. The red dashed line illustrates an exponential fitting of the simulation results. (c) The measured fluorescence signal for each depth value with an increasing depth from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that the fluorescence contrast signal decreases as the depth increases, which agrees with intuition. As for a deeper location inside the skin, it takes farther distance for the fluorescent light to travel out, therefore the distortion introduced by the scattering events as the light propagates through the skin tissue is stronger. In addition, the attenuation from both scattering and absorption is stronger as well, which further reduces the SNR. For depth greater than 0.1 mm, the contrast signal strength is nearly vanishing.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the FAD Concentration Difference ===&lt;br /&gt;
Similarly, the strength of the contrast signal should also be a function of the concentration difference of FAD between the dysplastic and the healthy tissue. The geometry is again defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm, the thickness to 0.1 mm, and the depth is set to 0.04 mm. The volumetric concentration of FAD in the healthy region is fixed to 0.2 while the FAD concentration in the dysplastic region is varied from 0 to 0.2. &lt;br /&gt;
&lt;br /&gt;
[[File:results32_updated.png|900px|thumb|center| (a,c) Schematic of the geometry, (a) has a shallower dysplastic region while it is deeper in (c). The FAD concentration inside the rectangular rod is swept. (b,d) The dependence betweewn the concentration difference and the fluorescence contrast signal. (c) The measured fluorescence signal for each concentration value with a decreasing concentration contrast from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that for 0.04 mm as the depth, the fluorescence contrast signal is linearly proportional to the FAD concentration difference, which again agrees with intuition. The concentration difference determines the distribution in the number of fluorescence emitter, which is equivalent to the source and directly proportional to the fluorescence intensity. When increasing the depth of the rectangular wire to 0.1 mm, again the linear dependence is shown however with an overall lower amplitude, representing the decrease in the number of fluorescence emitter.&lt;br /&gt;
&lt;br /&gt;
=== Image Quality and Simulation Limitations  ===&lt;br /&gt;
Optical Monte Carlo simulations, while powerful and versatile, are computationally demanding due to the nature of light propagation and the need to model a vast number of photon trajectories. The computational expense arises from the necessity to track individual photon interactions and their probabilistic behavior as they scatter, absorb, and move through the medium.  Modeling three-dimensional environments adds complexity, as simulations must account for photon movements in all spatial directions within the medium. To illustrate this, a regular high performance laptop were able to simulate about 10&amp;lt;math&amp;gt;^6&amp;lt;/math&amp;gt; photons per minute, while a 1mW light source at 400 nm emits 10&amp;lt;math&amp;gt;^{15}&amp;lt;/math&amp;gt; photons per second. This can be a problem when trying to model realistic scenarios with low signal to noise. Figure 5 shows a set of images of an embedded dysplastic lesion in healthy tissue, with varying number of simulated photons. &lt;br /&gt;
&lt;br /&gt;
[[File:images_SImTime.png|900px|thumb|center| Image quality as a function of simulation number of photons simulated. Top) Collected images of an embedded dysplastic lesion inside healthy tissue. Bottom) Cross section of the image intensity.  ]]&lt;br /&gt;
&lt;br /&gt;
== Conclusions ==&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
You can write math equations as follows:&lt;br /&gt;
&amp;lt;math&amp;gt;y = x^2 + 5 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can include images as follows (you will need to upload the image first using the toolbox on the left bar, using the &amp;quot;Upload file&amp;quot; link).&lt;br /&gt;
&lt;br /&gt;
[[File:Snip 20210106183207.png|200px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
1. Y. Xu et al. Optical Imaging in the Diagnosis of OPMDs Malignant Transformation, Journal of Dental Research 2022, Vol. 101(7) 749–758&lt;br /&gt;
&lt;br /&gt;
2. MCmatlab package and documentation: https://github.com/ankrh/MCmatlab&lt;/div&gt;</summary>
		<author><name>Bohan</name></author>
	</entry>
	<entry>
		<id>http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=34010</id>
		<title>Medical imaging: Simulations of reflectance and fluorescence of human tissue</title>
		<link rel="alternate" type="text/html" href="http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=34010"/>
		<updated>2023-12-18T17:51:08Z</updated>

		<summary type="html">&lt;p&gt;Bohan: /* Optical Processes in Skin Tissue */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
Squamous dysplasia, a precursor to squamous cell carcinoma, represents a spectrum of histological alterations within the epithelium, characterized by abnormal cellular morphology and metabolism. Early identification is critical to prevent the progression to invasive carcinoma. Auto fluorescent imaging (AFI) has emerged as a promising non-invasive technique for the detection of squamous dysplasia. Flavin adenine dinucleotide (FAD), an essential co-factor in cellular oxidative metabolism, undergoes changes in concentration and redox state during dysplastic transformations. Studies indicate a correlation between dysplastic progression and altered FAD levels, leading to variations in tissue fluorescence&amp;lt;math&amp;gt;^1&amp;lt;/math&amp;gt;. Lower FAD concentrations in dysplastic areas manifest as decreased fluorescence intensity level, which in principle can be imaged with AFI.&lt;br /&gt;
&lt;br /&gt;
AFI uses the intrinsic fluorescent properties of endogenous molecules within tissues. Under appropriate excitation wavelengths, endogenous fluorophores emit light, providing real-time visualization of tissue morphology. The altered metabolic activity and subsequent changes in FAD concentrations in dysplastic tissues offer a distinct fluorescence pattern that is in principle discernible through AFI.&lt;br /&gt;
&lt;br /&gt;
In clinical settings, AFI demonstrates promise as a non-invasive tool for identifying early dysplastic lesions. Its ability to highlight subtle changes in tissue autofluorescence can aid in targeted biopsies and delineation of margins during surgical interventions. In this project, we explore imaging of dysplastic tissues by using optical Monte Carlo based fluorescence simulations. We identify qualitative trends of image quality with respect to dysplastic lesion size, depth, and fluorophore concentration change. Understanding how photons interact with fluorophores, the probability of excitation, and the emitted fluorescence intensity can assist in predicting and interpreting experimental fluorescence measurements.&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
=== Optical Processes in Skin Tissue ===&lt;br /&gt;
&lt;br /&gt;
[[File:optical.png|300px|thumb|right| The optical processes in skin tissue, including reflection, scattering, absorption, and fluorescence. ]]&lt;br /&gt;
&lt;br /&gt;
When shining light into the skin, there are multiple light-matter interaction processes happening simultaneously, including reflection, absorption, scattering, and fluorescence as depicted in the figure below. &lt;br /&gt;
&lt;br /&gt;
The key process in this study is fluorescence. When short wavelength photon is absorbed, the material will re-emit photon at a longer wavelength and smaller energy. In the epidermis layer of the skin tissue, there are two fluorescence molecules, FAD and NADH, which are related to metabolic activities of cells. By measuring the fluorescence activities, one can monitor the localized concentration of FAD and NADH in the epidermis layer, therefore acquiring early signs on potnetial dysplasia. To model the fluorescence activities in the epidermis layer, the fluorophore is assumed to be uniformly distributed in the epidermis layer as a solution while the dysplastic region can be regarded as some localized volume with a different concentration comparing to the surrounding medium. &lt;br /&gt;
&lt;br /&gt;
Reflection refers to the back-scatter of photon at the interface between different materials when the index of refraction changes. Since the main composition of human skin is water, the variation of index of refraction is minor therefore there is negligible amount of reflection inside human skin. The strongest reflection happens at the surface of skin where photon hits the skin tissue from air. This can result in a spectral reduction of the number of photons actually entering into the skin, which results in a reduction in the actual fluorescence signal strength. &lt;br /&gt;
&lt;br /&gt;
Absorption is an intrinsic property of light-matter interaction where the amplitude of electromagnetic field attenuates as propagating. The absorption in a solution can be quatitatively described using the Beer-Lambert law, where the intensity of light decay exponentially as it travels in the absorptive medium. The decay rate is characterized by the absorption coefficient &amp;lt;math&amp;gt; \mu_\alpha &amp;lt;/math&amp;gt; which is a function of the solvend absorpsivity and its concentration. In human skin tissue, the total amount of absorption can be decomposed into several different components, including absorption from water, fat, melanin, and blood content, which can be cast by an empirical equation [REF]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; mu_{\alpha} =BS\mu_{\alpha,oxy} + B (1-S) \mu_{\alpha,deoxy} + W\mu_{\alpha,water} + F\mu_{\alpha,fat} + M\mu_{\alpha,melanosome} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The scattering process refers to the change in the direction of motion when the photon interacts with the material (mainly the nuclei). In the actual scenario of fluorescence detection, the scattering process can result in two consequences including the attenuation of number of photons in the forward propagating direction, and introducing distortion to the localized signal. The second consequence is the critical factor of reducing the signal to noise ratio, as the localized signal from the dysplasia is smeared by the uncertain scattering processes.&lt;br /&gt;
&lt;br /&gt;
== Methods ==&lt;br /&gt;
&lt;br /&gt;
=== Monte Carlo Simulation ===&lt;br /&gt;
&lt;br /&gt;
Monte Carlo simulations is a useful tool for modeling and understanding the intricate behaviors of light propagation through tissues. These simulations rely on probabilistic algorithms that simulate numerous random trajectories of photons within a medium, enabling the prediction and analysis of light transport in complex systems. These trajectories are based on scattering events and the optical properties of the medium. As photons travel, they undergo interactions, either scattering off structures within the tissue or getting absorbed. The simulations track the path lengths and angles of these photons, ultimately predicting the reflectance and absorption profiles. &lt;br /&gt;
&lt;br /&gt;
To simulate fluorescence, an initial simulation models the absorption of incident photons by fluorescent molecules like FAD or other fluorophores. The resulting absorption profile is then used as a source for fluorescent light of a different wavelength and the Monte Carlo algorithm is applied again.&lt;br /&gt;
&lt;br /&gt;
=== MCMatlab ===&lt;br /&gt;
&lt;br /&gt;
We decided to use MCmatlab based on a class project from last year, where it was implemented to simulate diffuse reflectance of different oxygenation levels for various skin types. &lt;br /&gt;
&lt;br /&gt;
In MCMatlab a medium is defined by specifying a set of parameters&amp;lt;math&amp;gt;^2&amp;lt;/math&amp;gt;. The relevant parameters in our simulation are: Absorption coefficient ‘&amp;lt;math&amp;gt;\mu_a&amp;lt;/math&amp;gt;’, Scattering coefficient ‘&amp;lt;math&amp;gt;\mu_s&amp;lt;/math&amp;gt;’, Emission spectrum ‘&amp;lt;math&amp;gt;\epsilon_{\lambda}&amp;lt;/math&amp;gt;’, Quantum yield &#039;QY&#039;, Henyey-Greenstein Scattering anisotropy factor ‘g’ and Refractive Index ‘n’. &lt;br /&gt;
&lt;br /&gt;
All quantities are a function of wavelength. The absorption coefficient is given in units of cm&amp;lt;math&amp;gt;^{-1}&amp;lt;/math&amp;gt;. The scattering coefficient is expressed as the fraction of photons getting scattered while traveling in a medium per unit distance. The emission spectrum describes the relative spectral power emitted for each wavelength. The quantum yield is defined as the number of photons emitted per absorbed photons. Henyey-Greenstein Scattering anisotropy factor has a value between 0 and 1 and  quantifies the degree of angular distribution in the scattering of photons within a medium. More concretely, g = 0 signifies purely isotropic scattering, indicating an equal probability of scattering in all directions while g = 1 represents completely forward-peaked scattering, indicating a strong preference for photons to be scattered in the forward direction. See referenced documentation for full details about all parameters. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Equivalent Model of Fluorophore Solution ===&lt;br /&gt;
When considering the optical response of the epidermis layer for blue light, absorption occurs both directly in FAD as well as in the rest of the tissue. In MCmatlab, a material can only be defined by a single absorption coefficient and emissivity spectrum. This presents a problem since absorption from surrounding tissue artificially contribute to FAD fluorescence in the model. Unfortunately,  this yields an unacceptable degree of inaccuracy as the overall absorption by the tissue is large compared to the absorption in FAD, due to its low concentration. In other words, the majority of the fluorescence would come from absorption in tissue which normally does not fluoresce. This also makes it hard to model subtle changes in FAD levels due to the strong artificial fluorescence background.&lt;br /&gt;
&lt;br /&gt;
[[File:model.png|500px|thumb|center|The multilayer model for fluorescence Monte Carlo simulation. ]]&lt;br /&gt;
&lt;br /&gt;
To solve this issue, we introduce a multilayer model where FAD molecules distributed in a volume is collected into thin planes spread across the volume (see Figure 1). By separating FAD from the rest of the tissue components, we can define two separate media in MCmatlab with their respective optical properties, avoiding the issue of artificial fluorescence. However, changing the geometry in this way will also affect the optical response. Below, we derive an expression to correct for the geometrical change. &lt;br /&gt;
&lt;br /&gt;
The total optical absorption can be described as:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \propto \int dV (-J)\cdot E = \int dV (-i\omega\varepsilon_0 \chi |E|^2) = \int dV \omega\varepsilon_0 \chi&#039;&#039; |E|^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;J&amp;lt;/math&amp;gt; is the current density, &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; is the electric field, &amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; is the angular frequency of light, &amp;lt;math&amp;gt; \varepsilon_0&amp;lt;/math&amp;gt;  is the free space electric permittivity, &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  is the material susceptibility, and &amp;lt;math&amp;gt;\chi&#039;&#039;&amp;lt;/math&amp;gt; is the imaginary part of &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  representing the optical absorption of a certain material. Under the representation of Beer-Lambert law, the electric field penetrating in the skin can be described as an exponential decay: &amp;lt;math&amp;gt; E = E_0 \exp(-\mu_\alpha z) &amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; is the material absorpsivity in the unit of [cm]&amp;lt;math&amp;gt;^{-1}&amp;lt;/math&amp;gt;. Substituting the exponentially decaying electric field into the absorption expression and applying our one-dimensional multilayer geometry: &lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \cong A \int_{0}^{L_z} dz \exp(-2\mu_\alpha z) = A\frac{1-\exp(-2\mu_\alpha L_z)}{2\mu_\alpha} &amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;L_z&amp;lt;/math&amp;gt; is the total length in z direction. To have the same amount of absorption in the fluorophore when using the multilayer model, we need to equivalently adjust the optical property &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; of the material to balance the effect of shrinking the volume occupied by the fluorophore. Gathering the fluorophore into a thin slab centered at &amp;lt;math&amp;gt;L_z/2&amp;lt;/math&amp;gt;, the absorption here is:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt;  \cong A \int_{L_z/2-\Delta{z}/2}^{L_z/2+\Delta{z}/2} dz \exp(-2\mu_\alpha&#039; z)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; = A\frac{\exp(-\mu_\alpha&#039;L_z)(\exp(\mu_\alpha&#039;\Delta{z})-\exp(-\mu_\alpha&#039;\Delta{z}))}{2\mu_\alpha&#039;}\cong A\exp(-\mu_\alpha&#039;L_z)\Delta{z}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Equaling the absorption and assuming the absorpsivity of FAD is small (&amp;lt;math&amp;gt;\mu_\alpha L_z\ll1&amp;lt;/math&amp;gt;), one can extract an approximate expression for the equivalent absorpsivity:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;    \mu_\alpha&#039; = \frac{1}{L_z}\log(\frac{L_z}{\Delta{z}}). &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using the equivalent absorpsivity correction, the total absorption is the same. In addition, the blue photon absorbed by FAD will result in the fluorescence emission, such that the correct FAD fluorescence activity can be simulated.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Beer-Lambert: Absorbance A is given by &lt;br /&gt;
&amp;lt;math&amp;gt; A= \mu_acl &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for this to be constant in both geometries, we get the relationship:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \mu_{a}cl=\mu_{a}&#039;c&#039;l&#039; &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Thus, &amp;lt;math&amp;gt; \mu_{a}&#039;c&#039;=\mu_{a}c \frac{L_z}{\Delta z} &amp;lt;/math&amp;gt;. This means that we can either change the concentration of the absorption coefficient to compensate for the reduced volume. This hold true as long as the field variation across the volume is linear. This is true when &amp;lt;math&amp;gt;\mu_\alpha L_z\ll1&amp;lt;/math&amp;gt;, since the field decay is approximately linear for a small change in z: &amp;lt;math&amp;gt;\exp(-\mu_\alpha&#039;x) \approx 1-\mu_\alpha&#039;z &amp;lt;/math&amp;gt; for small z. Thus, we can always compensate the change in geometry by choosing a sufficiently small spacing between the thin planes relative to the absorptivity of the material.&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
&lt;br /&gt;
The properties of the dysplastic region directly determines the fluorescence signal. Here, the properties refer to the geometry size, shape, the fluorophore concentration, and the location inside the skin tissue. Below, we will carry out a few computational and numerical experiments to qualitatively describe the dependence between the fluorescence signal strength and these factors. The simulation is conducted based on MCMatlab Fluorescence Monte Carlo simulation package. &lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Width ===&lt;br /&gt;
[[File:results1_updated.png|900px|thumb|center| (a) Schematic of the geometry, which is defined as a one-dimensional variation in FAD concentration with a low concentration at the central part representing the dysplastic region. (b) The actual fluorescence signal measured as a function of x position. The contrast signal is extracted as the ratio between the magnitude of the dip and the maximum signal level. (c) The dependence betweewn the width of the dysplastic region and the fluorescence contrast signal. (d) The measured fluorescence signal for each width value with an increasing width from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
For the first study, the simulated geometry is defined as a one-dimensional concentration variation in &amp;quot;x&amp;quot; as shown in the figure above with a lower FAD concentration at the central region representing the dysplastic region. The width of the dysplastic region is swept and the output fluorescence contrast signal is measured. It is shown that the contrast signal first goes up, then saturates at w~0.35 mm. At small width values, the signals are mixed up from the two edges where the concentration changes sharply, so that one cannot resolve the full contrast signal. When the two edges are separated sufficiently far, the full signal can be resolved, giving a relative fluorescence contrast as 0.3.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Depth ===&lt;br /&gt;
Next, the qualitative relation is studied between the depth of the dysplastic region inside the skin and the fluorescence contrast signal. In this case, the geometry is defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm and the thickness to 0.1 mm. The depth is set as the swept parameter, and it is defined as the distance between the top surface of the epidermis layer and the top surface of the rectangular wire. &lt;br /&gt;
&lt;br /&gt;
[[File:results2_updated.png|600px|thumb|center| (a) Schematic of the geometry, where the FAD concentration inside the rectangular rod is lower, representing the dysplastic region. The depth of the rectangular wire is swept. (b) The dependence betweewn the depth of the dysplastic region and the fluorescence contrast signal. The red dashed line illustrates an exponential fitting of the simulation results. (c) The measured fluorescence signal for each depth value with an increasing depth from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that the fluorescence contrast signal decreases as the depth increases, which agrees with intuition. As for a deeper location inside the skin, it takes farther distance for the fluorescent light to travel out, therefore the distortion introduced by the scattering events as the light propagates through the skin tissue is stronger. In addition, the attenuation from both scattering and absorption is stronger as well, which further reduces the SNR. For depth greater than 0.1 mm, the contrast signal strength is nearly vanishing.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the FAD Concentration Difference ===&lt;br /&gt;
Similarly, the strength of the contrast signal should also be a function of the concentration difference of FAD between the dysplastic and the healthy tissue. The geometry is again defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm, the thickness to 0.1 mm, and the depth is set to 0.04 mm. The volumetric concentration of FAD in the healthy region is fixed to 0.2 while the FAD concentration in the dysplastic region is varied from 0 to 0.2. &lt;br /&gt;
&lt;br /&gt;
[[File:results32_updated.png|900px|thumb|center| (a,c) Schematic of the geometry, (a) has a shallower dysplastic region while it is deeper in (c). The FAD concentration inside the rectangular rod is swept. (b,d) The dependence betweewn the concentration difference and the fluorescence contrast signal. (c) The measured fluorescence signal for each concentration value with a decreasing concentration contrast from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that for 0.04 mm as the depth, the fluorescence contrast signal is linearly proportional to the FAD concentration difference, which again agrees with intuition. The concentration difference determines the distribution in the number of fluorescence emitter, which is equivalent to the source and directly proportional to the fluorescence intensity. When increasing the depth of the rectangular wire to 0.1 mm, again the linear dependence is shown however with an overall lower amplitude, representing the decrease in the number of fluorescence emitter.&lt;br /&gt;
&lt;br /&gt;
=== Image Quality and Simulation Limitations  ===&lt;br /&gt;
Optical Monte Carlo simulations, while powerful and versatile, are computationally demanding due to the nature of light propagation and the need to model a vast number of photon trajectories. The computational expense arises from the necessity to track individual photon interactions and their probabilistic behavior as they scatter, absorb, and move through the medium.  Modeling three-dimensional environments adds complexity, as simulations must account for photon movements in all spatial directions within the medium. To illustrate this, a regular high performance laptop were able to simulate about 10&amp;lt;math&amp;gt;^6&amp;lt;/math&amp;gt; photons per minute, while a 1mW light source at 400 nm emits 10&amp;lt;math&amp;gt;^{15}&amp;lt;/math&amp;gt; photons per second. This can be a problem when trying to model realistic scenarios with low signal to noise. Figure 5 shows a set of images of an embedded dysplastic lesion in healthy tissue, with varying number of simulated photons. &lt;br /&gt;
&lt;br /&gt;
[[File:images_SImTime.png|900px|thumb|center| Image quality as a function of simulation number of photons simulated. Top) Collected images of an embedded dysplastic lesion inside healthy tissue. Bottom) Cross section of the image intensity.  ]]&lt;br /&gt;
&lt;br /&gt;
== Conclusions ==&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
You can write math equations as follows:&lt;br /&gt;
&amp;lt;math&amp;gt;y = x^2 + 5 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can include images as follows (you will need to upload the image first using the toolbox on the left bar, using the &amp;quot;Upload file&amp;quot; link).&lt;br /&gt;
&lt;br /&gt;
[[File:Snip 20210106183207.png|200px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
1. Y. Xu et al. Optical Imaging in the Diagnosis of OPMDs Malignant Transformation, Journal of Dental Research 2022, Vol. 101(7) 749–758&lt;br /&gt;
&lt;br /&gt;
2. MCmatlab package and documentation: https://github.com/ankrh/MCmatlab&lt;/div&gt;</summary>
		<author><name>Bohan</name></author>
	</entry>
	<entry>
		<id>http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=34009</id>
		<title>Medical imaging: Simulations of reflectance and fluorescence of human tissue</title>
		<link rel="alternate" type="text/html" href="http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=34009"/>
		<updated>2023-12-18T17:50:30Z</updated>

		<summary type="html">&lt;p&gt;Bohan: /* Optical Processes in Skin Tissue */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
Squamous dysplasia, a precursor to squamous cell carcinoma, represents a spectrum of histological alterations within the epithelium, characterized by abnormal cellular morphology and metabolism. Early identification is critical to prevent the progression to invasive carcinoma. Auto fluorescent imaging (AFI) has emerged as a promising non-invasive technique for the detection of squamous dysplasia. Flavin adenine dinucleotide (FAD), an essential co-factor in cellular oxidative metabolism, undergoes changes in concentration and redox state during dysplastic transformations. Studies indicate a correlation between dysplastic progression and altered FAD levels, leading to variations in tissue fluorescence&amp;lt;math&amp;gt;^1&amp;lt;/math&amp;gt;. Lower FAD concentrations in dysplastic areas manifest as decreased fluorescence intensity level, which in principle can be imaged with AFI.&lt;br /&gt;
&lt;br /&gt;
AFI uses the intrinsic fluorescent properties of endogenous molecules within tissues. Under appropriate excitation wavelengths, endogenous fluorophores emit light, providing real-time visualization of tissue morphology. The altered metabolic activity and subsequent changes in FAD concentrations in dysplastic tissues offer a distinct fluorescence pattern that is in principle discernible through AFI.&lt;br /&gt;
&lt;br /&gt;
In clinical settings, AFI demonstrates promise as a non-invasive tool for identifying early dysplastic lesions. Its ability to highlight subtle changes in tissue autofluorescence can aid in targeted biopsies and delineation of margins during surgical interventions. In this project, we explore imaging of dysplastic tissues by using optical Monte Carlo based fluorescence simulations. We identify qualitative trends of image quality with respect to dysplastic lesion size, depth, and fluorophore concentration change. Understanding how photons interact with fluorophores, the probability of excitation, and the emitted fluorescence intensity can assist in predicting and interpreting experimental fluorescence measurements.&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
=== Optical Processes in Skin Tissue ===&lt;br /&gt;
When shining light into the skin, there are multiple light-matter interaction processes happening simultaneously, including reflection, absorption, scattering, and fluorescence as depicted in the figure below. &lt;br /&gt;
&lt;br /&gt;
[[File:optical.png|300px|thumb|right| The optical processes heppening in skin tissue and a schematic of simulation, including reflection, scattering, absorption, and fluorescence. ]]&lt;br /&gt;
&lt;br /&gt;
The key process in this study is fluorescence. When short wavelength photon is absorbed, the material will re-emit photon at a longer wavelength and smaller energy. In the epidermis layer of the skin tissue, there are two fluorescence molecules, FAD and NADH, which are related to metabolic activities of cells. By measuring the fluorescence activities, one can monitor the localized concentration of FAD and NADH in the epidermis layer, therefore acquiring early signs on potnetial dysplasia. To model the fluorescence activities in the epidermis layer, the fluorophore is assumed to be uniformly distributed in the epidermis layer as a solution while the dysplastic region can be regarded as some localized volume with a different concentration comparing to the surrounding medium. &lt;br /&gt;
&lt;br /&gt;
Reflection refers to the back-scatter of photon at the interface between different materials when the index of refraction changes. Since the main composition of human skin is water, the variation of index of refraction is minor therefore there is negligible amount of reflection inside human skin. The strongest reflection happens at the surface of skin where photon hits the skin tissue from air. This can result in a spectral reduction of the number of photons actually entering into the skin, which results in a reduction in the actual fluorescence signal strength. &lt;br /&gt;
&lt;br /&gt;
Absorption is an intrinsic property of light-matter interaction where the amplitude of electromagnetic field attenuates as propagating. The absorption in a solution can be quatitatively described using the Beer-Lambert law, where the intensity of light decay exponentially as it travels in the absorptive medium. The decay rate is characterized by the absorption coefficient &amp;lt;math&amp;gt; \mu_\alpha &amp;lt;/math&amp;gt; which is a function of the solvend absorpsivity and its concentration. In human skin tissue, the total amount of absorption can be decomposed into several different components, including absorption from water, fat, melanin, and blood content, which can be cast by an empirical equation [REF]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; mu_{\alpha} =BS\mu_{\alpha,oxy} + B (1-S) \mu_{\alpha,deoxy} + W\mu_{\alpha,water} + F\mu_{\alpha,fat} + M\mu_{\alpha,melanosome} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The scattering process refers to the change in the direction of motion when the photon interacts with the material (mainly the nuclei). In the actual scenario of fluorescence detection, the scattering process can result in two consequences including the attenuation of number of photons in the forward propagating direction, and introducing distortion to the localized signal. The second consequence is the critical factor of reducing the signal to noise ratio, as the localized signal from the dysplasia is smeared by the uncertain scattering processes.&lt;br /&gt;
&lt;br /&gt;
== Methods ==&lt;br /&gt;
&lt;br /&gt;
=== Monte Carlo Simulation ===&lt;br /&gt;
&lt;br /&gt;
Monte Carlo simulations is a useful tool for modeling and understanding the intricate behaviors of light propagation through tissues. These simulations rely on probabilistic algorithms that simulate numerous random trajectories of photons within a medium, enabling the prediction and analysis of light transport in complex systems. These trajectories are based on scattering events and the optical properties of the medium. As photons travel, they undergo interactions, either scattering off structures within the tissue or getting absorbed. The simulations track the path lengths and angles of these photons, ultimately predicting the reflectance and absorption profiles. &lt;br /&gt;
&lt;br /&gt;
To simulate fluorescence, an initial simulation models the absorption of incident photons by fluorescent molecules like FAD or other fluorophores. The resulting absorption profile is then used as a source for fluorescent light of a different wavelength and the Monte Carlo algorithm is applied again.&lt;br /&gt;
&lt;br /&gt;
=== MCMatlab ===&lt;br /&gt;
&lt;br /&gt;
We decided to use MCmatlab based on a class project from last year, where it was implemented to simulate diffuse reflectance of different oxygenation levels for various skin types. &lt;br /&gt;
&lt;br /&gt;
In MCMatlab a medium is defined by specifying a set of parameters&amp;lt;math&amp;gt;^2&amp;lt;/math&amp;gt;. The relevant parameters in our simulation are: Absorption coefficient ‘&amp;lt;math&amp;gt;\mu_a&amp;lt;/math&amp;gt;’, Scattering coefficient ‘&amp;lt;math&amp;gt;\mu_s&amp;lt;/math&amp;gt;’, Emission spectrum ‘&amp;lt;math&amp;gt;\epsilon_{\lambda}&amp;lt;/math&amp;gt;’, Quantum yield &#039;QY&#039;, Henyey-Greenstein Scattering anisotropy factor ‘g’ and Refractive Index ‘n’. &lt;br /&gt;
&lt;br /&gt;
All quantities are a function of wavelength. The absorption coefficient is given in units of cm&amp;lt;math&amp;gt;^{-1}&amp;lt;/math&amp;gt;. The scattering coefficient is expressed as the fraction of photons getting scattered while traveling in a medium per unit distance. The emission spectrum describes the relative spectral power emitted for each wavelength. The quantum yield is defined as the number of photons emitted per absorbed photons. Henyey-Greenstein Scattering anisotropy factor has a value between 0 and 1 and  quantifies the degree of angular distribution in the scattering of photons within a medium. More concretely, g = 0 signifies purely isotropic scattering, indicating an equal probability of scattering in all directions while g = 1 represents completely forward-peaked scattering, indicating a strong preference for photons to be scattered in the forward direction. See referenced documentation for full details about all parameters. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Equivalent Model of Fluorophore Solution ===&lt;br /&gt;
When considering the optical response of the epidermis layer for blue light, absorption occurs both directly in FAD as well as in the rest of the tissue. In MCmatlab, a material can only be defined by a single absorption coefficient and emissivity spectrum. This presents a problem since absorption from surrounding tissue artificially contribute to FAD fluorescence in the model. Unfortunately,  this yields an unacceptable degree of inaccuracy as the overall absorption by the tissue is large compared to the absorption in FAD, due to its low concentration. In other words, the majority of the fluorescence would come from absorption in tissue which normally does not fluoresce. This also makes it hard to model subtle changes in FAD levels due to the strong artificial fluorescence background.&lt;br /&gt;
&lt;br /&gt;
[[File:model.png|500px|thumb|center|The multilayer model for fluorescence Monte Carlo simulation. ]]&lt;br /&gt;
&lt;br /&gt;
To solve this issue, we introduce a multilayer model where FAD molecules distributed in a volume is collected into thin planes spread across the volume (see Figure 1). By separating FAD from the rest of the tissue components, we can define two separate media in MCmatlab with their respective optical properties, avoiding the issue of artificial fluorescence. However, changing the geometry in this way will also affect the optical response. Below, we derive an expression to correct for the geometrical change. &lt;br /&gt;
&lt;br /&gt;
The total optical absorption can be described as:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \propto \int dV (-J)\cdot E = \int dV (-i\omega\varepsilon_0 \chi |E|^2) = \int dV \omega\varepsilon_0 \chi&#039;&#039; |E|^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;J&amp;lt;/math&amp;gt; is the current density, &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; is the electric field, &amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; is the angular frequency of light, &amp;lt;math&amp;gt; \varepsilon_0&amp;lt;/math&amp;gt;  is the free space electric permittivity, &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  is the material susceptibility, and &amp;lt;math&amp;gt;\chi&#039;&#039;&amp;lt;/math&amp;gt; is the imaginary part of &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  representing the optical absorption of a certain material. Under the representation of Beer-Lambert law, the electric field penetrating in the skin can be described as an exponential decay: &amp;lt;math&amp;gt; E = E_0 \exp(-\mu_\alpha z) &amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; is the material absorpsivity in the unit of [cm]&amp;lt;math&amp;gt;^{-1}&amp;lt;/math&amp;gt;. Substituting the exponentially decaying electric field into the absorption expression and applying our one-dimensional multilayer geometry: &lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \cong A \int_{0}^{L_z} dz \exp(-2\mu_\alpha z) = A\frac{1-\exp(-2\mu_\alpha L_z)}{2\mu_\alpha} &amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;L_z&amp;lt;/math&amp;gt; is the total length in z direction. To have the same amount of absorption in the fluorophore when using the multilayer model, we need to equivalently adjust the optical property &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; of the material to balance the effect of shrinking the volume occupied by the fluorophore. Gathering the fluorophore into a thin slab centered at &amp;lt;math&amp;gt;L_z/2&amp;lt;/math&amp;gt;, the absorption here is:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt;  \cong A \int_{L_z/2-\Delta{z}/2}^{L_z/2+\Delta{z}/2} dz \exp(-2\mu_\alpha&#039; z)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; = A\frac{\exp(-\mu_\alpha&#039;L_z)(\exp(\mu_\alpha&#039;\Delta{z})-\exp(-\mu_\alpha&#039;\Delta{z}))}{2\mu_\alpha&#039;}\cong A\exp(-\mu_\alpha&#039;L_z)\Delta{z}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Equaling the absorption and assuming the absorpsivity of FAD is small (&amp;lt;math&amp;gt;\mu_\alpha L_z\ll1&amp;lt;/math&amp;gt;), one can extract an approximate expression for the equivalent absorpsivity:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;    \mu_\alpha&#039; = \frac{1}{L_z}\log(\frac{L_z}{\Delta{z}}). &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using the equivalent absorpsivity correction, the total absorption is the same. In addition, the blue photon absorbed by FAD will result in the fluorescence emission, such that the correct FAD fluorescence activity can be simulated.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Beer-Lambert: Absorbance A is given by &lt;br /&gt;
&amp;lt;math&amp;gt; A= \mu_acl &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for this to be constant in both geometries, we get the relationship:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \mu_{a}cl=\mu_{a}&#039;c&#039;l&#039; &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Thus, &amp;lt;math&amp;gt; \mu_{a}&#039;c&#039;=\mu_{a}c \frac{L_z}{\Delta z} &amp;lt;/math&amp;gt;. This means that we can either change the concentration of the absorption coefficient to compensate for the reduced volume. This hold true as long as the field variation across the volume is linear. This is true when &amp;lt;math&amp;gt;\mu_\alpha L_z\ll1&amp;lt;/math&amp;gt;, since the field decay is approximately linear for a small change in z: &amp;lt;math&amp;gt;\exp(-\mu_\alpha&#039;x) \approx 1-\mu_\alpha&#039;z &amp;lt;/math&amp;gt; for small z. Thus, we can always compensate the change in geometry by choosing a sufficiently small spacing between the thin planes relative to the absorptivity of the material.&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
&lt;br /&gt;
The properties of the dysplastic region directly determines the fluorescence signal. Here, the properties refer to the geometry size, shape, the fluorophore concentration, and the location inside the skin tissue. Below, we will carry out a few computational and numerical experiments to qualitatively describe the dependence between the fluorescence signal strength and these factors. The simulation is conducted based on MCMatlab Fluorescence Monte Carlo simulation package. &lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Width ===&lt;br /&gt;
[[File:results1_updated.png|900px|thumb|center| (a) Schematic of the geometry, which is defined as a one-dimensional variation in FAD concentration with a low concentration at the central part representing the dysplastic region. (b) The actual fluorescence signal measured as a function of x position. The contrast signal is extracted as the ratio between the magnitude of the dip and the maximum signal level. (c) The dependence betweewn the width of the dysplastic region and the fluorescence contrast signal. (d) The measured fluorescence signal for each width value with an increasing width from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
For the first study, the simulated geometry is defined as a one-dimensional concentration variation in &amp;quot;x&amp;quot; as shown in the figure above with a lower FAD concentration at the central region representing the dysplastic region. The width of the dysplastic region is swept and the output fluorescence contrast signal is measured. It is shown that the contrast signal first goes up, then saturates at w~0.35 mm. At small width values, the signals are mixed up from the two edges where the concentration changes sharply, so that one cannot resolve the full contrast signal. When the two edges are separated sufficiently far, the full signal can be resolved, giving a relative fluorescence contrast as 0.3.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Depth ===&lt;br /&gt;
Next, the qualitative relation is studied between the depth of the dysplastic region inside the skin and the fluorescence contrast signal. In this case, the geometry is defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm and the thickness to 0.1 mm. The depth is set as the swept parameter, and it is defined as the distance between the top surface of the epidermis layer and the top surface of the rectangular wire. &lt;br /&gt;
&lt;br /&gt;
[[File:results2_updated.png|600px|thumb|center| (a) Schematic of the geometry, where the FAD concentration inside the rectangular rod is lower, representing the dysplastic region. The depth of the rectangular wire is swept. (b) The dependence betweewn the depth of the dysplastic region and the fluorescence contrast signal. The red dashed line illustrates an exponential fitting of the simulation results. (c) The measured fluorescence signal for each depth value with an increasing depth from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that the fluorescence contrast signal decreases as the depth increases, which agrees with intuition. As for a deeper location inside the skin, it takes farther distance for the fluorescent light to travel out, therefore the distortion introduced by the scattering events as the light propagates through the skin tissue is stronger. In addition, the attenuation from both scattering and absorption is stronger as well, which further reduces the SNR. For depth greater than 0.1 mm, the contrast signal strength is nearly vanishing.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the FAD Concentration Difference ===&lt;br /&gt;
Similarly, the strength of the contrast signal should also be a function of the concentration difference of FAD between the dysplastic and the healthy tissue. The geometry is again defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm, the thickness to 0.1 mm, and the depth is set to 0.04 mm. The volumetric concentration of FAD in the healthy region is fixed to 0.2 while the FAD concentration in the dysplastic region is varied from 0 to 0.2. &lt;br /&gt;
&lt;br /&gt;
[[File:results32_updated.png|900px|thumb|center| (a,c) Schematic of the geometry, (a) has a shallower dysplastic region while it is deeper in (c). The FAD concentration inside the rectangular rod is swept. (b,d) The dependence betweewn the concentration difference and the fluorescence contrast signal. (c) The measured fluorescence signal for each concentration value with a decreasing concentration contrast from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that for 0.04 mm as the depth, the fluorescence contrast signal is linearly proportional to the FAD concentration difference, which again agrees with intuition. The concentration difference determines the distribution in the number of fluorescence emitter, which is equivalent to the source and directly proportional to the fluorescence intensity. When increasing the depth of the rectangular wire to 0.1 mm, again the linear dependence is shown however with an overall lower amplitude, representing the decrease in the number of fluorescence emitter.&lt;br /&gt;
&lt;br /&gt;
=== Image Quality and Simulation Limitations  ===&lt;br /&gt;
Optical Monte Carlo simulations, while powerful and versatile, are computationally demanding due to the nature of light propagation and the need to model a vast number of photon trajectories. The computational expense arises from the necessity to track individual photon interactions and their probabilistic behavior as they scatter, absorb, and move through the medium.  Modeling three-dimensional environments adds complexity, as simulations must account for photon movements in all spatial directions within the medium. To illustrate this, a regular high performance laptop were able to simulate about 10&amp;lt;math&amp;gt;^6&amp;lt;/math&amp;gt; photons per minute, while a 1mW light source at 400 nm emits 10&amp;lt;math&amp;gt;^{15}&amp;lt;/math&amp;gt; photons per second. This can be a problem when trying to model realistic scenarios with low signal to noise. Figure 5 shows a set of images of an embedded dysplastic lesion in healthy tissue, with varying number of simulated photons. &lt;br /&gt;
&lt;br /&gt;
[[File:images_SImTime.png|900px|thumb|center| Image quality as a function of simulation number of photons simulated. Top) Collected images of an embedded dysplastic lesion inside healthy tissue. Bottom) Cross section of the image intensity.  ]]&lt;br /&gt;
&lt;br /&gt;
== Conclusions ==&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
You can write math equations as follows:&lt;br /&gt;
&amp;lt;math&amp;gt;y = x^2 + 5 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can include images as follows (you will need to upload the image first using the toolbox on the left bar, using the &amp;quot;Upload file&amp;quot; link).&lt;br /&gt;
&lt;br /&gt;
[[File:Snip 20210106183207.png|200px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
1. Y. Xu et al. Optical Imaging in the Diagnosis of OPMDs Malignant Transformation, Journal of Dental Research 2022, Vol. 101(7) 749–758&lt;br /&gt;
&lt;br /&gt;
2. MCmatlab package and documentation: https://github.com/ankrh/MCmatlab&lt;/div&gt;</summary>
		<author><name>Bohan</name></author>
	</entry>
	<entry>
		<id>http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=34008</id>
		<title>Medical imaging: Simulations of reflectance and fluorescence of human tissue</title>
		<link rel="alternate" type="text/html" href="http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=34008"/>
		<updated>2023-12-18T17:50:10Z</updated>

		<summary type="html">&lt;p&gt;Bohan: /* Optical Processes in Skin Tissue */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
Squamous dysplasia, a precursor to squamous cell carcinoma, represents a spectrum of histological alterations within the epithelium, characterized by abnormal cellular morphology and metabolism. Early identification is critical to prevent the progression to invasive carcinoma. Auto fluorescent imaging (AFI) has emerged as a promising non-invasive technique for the detection of squamous dysplasia. Flavin adenine dinucleotide (FAD), an essential co-factor in cellular oxidative metabolism, undergoes changes in concentration and redox state during dysplastic transformations. Studies indicate a correlation between dysplastic progression and altered FAD levels, leading to variations in tissue fluorescence&amp;lt;math&amp;gt;^1&amp;lt;/math&amp;gt;. Lower FAD concentrations in dysplastic areas manifest as decreased fluorescence intensity level, which in principle can be imaged with AFI.&lt;br /&gt;
&lt;br /&gt;
AFI uses the intrinsic fluorescent properties of endogenous molecules within tissues. Under appropriate excitation wavelengths, endogenous fluorophores emit light, providing real-time visualization of tissue morphology. The altered metabolic activity and subsequent changes in FAD concentrations in dysplastic tissues offer a distinct fluorescence pattern that is in principle discernible through AFI.&lt;br /&gt;
&lt;br /&gt;
In clinical settings, AFI demonstrates promise as a non-invasive tool for identifying early dysplastic lesions. Its ability to highlight subtle changes in tissue autofluorescence can aid in targeted biopsies and delineation of margins during surgical interventions. In this project, we explore imaging of dysplastic tissues by using optical Monte Carlo based fluorescence simulations. We identify qualitative trends of image quality with respect to dysplastic lesion size, depth, and fluorophore concentration change. Understanding how photons interact with fluorophores, the probability of excitation, and the emitted fluorescence intensity can assist in predicting and interpreting experimental fluorescence measurements.&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
=== Optical Processes in Skin Tissue ===&lt;br /&gt;
When shining light into the skin, there are multiple light-matter interaction processes happening simultaneously, including reflection, absorption, scattering, and fluorescence as depicted in the figure below. &lt;br /&gt;
&lt;br /&gt;
[[File:optical.png|300px|thumb|center| The optical processes heppening in skin tissue and a schematic of simulation, including reflection, scattering, absorption, and fluorescence. ]]&lt;br /&gt;
&lt;br /&gt;
The key process in this study is fluorescence. When short wavelength photon is absorbed, the material will re-emit photon at a longer wavelength and smaller energy. In the epidermis layer of the skin tissue, there are two fluorescence molecules, FAD and NADH, which are related to metabolic activities of cells. By measuring the fluorescence activities, one can monitor the localized concentration of FAD and NADH in the epidermis layer, therefore acquiring early signs on potnetial dysplasia. To model the fluorescence activities in the epidermis layer, the fluorophore is assumed to be uniformly distributed in the epidermis layer as a solution while the dysplastic region can be regarded as some localized volume with a different concentration comparing to the surrounding medium. &lt;br /&gt;
&lt;br /&gt;
Reflection refers to the back-scatter of photon at the interface between different materials when the index of refraction changes. Since the main composition of human skin is water, the variation of index of refraction is minor therefore there is negligible amount of reflection inside human skin. The strongest reflection happens at the surface of skin where photon hits the skin tissue from air. This can result in a spectral reduction of the number of photons actually entering into the skin, which results in a reduction in the actual fluorescence signal strength. &lt;br /&gt;
&lt;br /&gt;
Absorption is an intrinsic property of light-matter interaction where the amplitude of electromagnetic field attenuates as propagating. The absorption in a solution can be quatitatively described using the Beer-Lambert law, where the intensity of light decay exponentially as it travels in the absorptive medium. The decay rate is characterized by the absorption coefficient &amp;lt;math&amp;gt; \mu_\alpha &amp;lt;/math&amp;gt; which is a function of the solvend absorpsivity and its concentration. In human skin tissue, the total amount of absorption can be decomposed into several different components, including absorption from water, fat, melanin, and blood content, which can be cast by an empirical equation [REF]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; mu_{\alpha} =BS\mu_{\alpha,oxy} + B (1-S) \mu_{\alpha,deoxy} + W\mu_{\alpha,water} + F\mu_{\alpha,fat} + M\mu_{\alpha,melanosome} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The scattering process refers to the change in the direction of motion when the photon interacts with the material (mainly the nuclei). In the actual scenario of fluorescence detection, the scattering process can result in two consequences including the attenuation of number of photons in the forward propagating direction, and introducing distortion to the localized signal. The second consequence is the critical factor of reducing the signal to noise ratio, as the localized signal from the dysplasia is smeared by the uncertain scattering processes.&lt;br /&gt;
&lt;br /&gt;
== Methods ==&lt;br /&gt;
&lt;br /&gt;
=== Monte Carlo Simulation ===&lt;br /&gt;
&lt;br /&gt;
Monte Carlo simulations is a useful tool for modeling and understanding the intricate behaviors of light propagation through tissues. These simulations rely on probabilistic algorithms that simulate numerous random trajectories of photons within a medium, enabling the prediction and analysis of light transport in complex systems. These trajectories are based on scattering events and the optical properties of the medium. As photons travel, they undergo interactions, either scattering off structures within the tissue or getting absorbed. The simulations track the path lengths and angles of these photons, ultimately predicting the reflectance and absorption profiles. &lt;br /&gt;
&lt;br /&gt;
To simulate fluorescence, an initial simulation models the absorption of incident photons by fluorescent molecules like FAD or other fluorophores. The resulting absorption profile is then used as a source for fluorescent light of a different wavelength and the Monte Carlo algorithm is applied again.&lt;br /&gt;
&lt;br /&gt;
=== MCMatlab ===&lt;br /&gt;
&lt;br /&gt;
We decided to use MCmatlab based on a class project from last year, where it was implemented to simulate diffuse reflectance of different oxygenation levels for various skin types. &lt;br /&gt;
&lt;br /&gt;
In MCMatlab a medium is defined by specifying a set of parameters&amp;lt;math&amp;gt;^2&amp;lt;/math&amp;gt;. The relevant parameters in our simulation are: Absorption coefficient ‘&amp;lt;math&amp;gt;\mu_a&amp;lt;/math&amp;gt;’, Scattering coefficient ‘&amp;lt;math&amp;gt;\mu_s&amp;lt;/math&amp;gt;’, Emission spectrum ‘&amp;lt;math&amp;gt;\epsilon_{\lambda}&amp;lt;/math&amp;gt;’, Quantum yield &#039;QY&#039;, Henyey-Greenstein Scattering anisotropy factor ‘g’ and Refractive Index ‘n’. &lt;br /&gt;
&lt;br /&gt;
All quantities are a function of wavelength. The absorption coefficient is given in units of cm&amp;lt;math&amp;gt;^{-1}&amp;lt;/math&amp;gt;. The scattering coefficient is expressed as the fraction of photons getting scattered while traveling in a medium per unit distance. The emission spectrum describes the relative spectral power emitted for each wavelength. The quantum yield is defined as the number of photons emitted per absorbed photons. Henyey-Greenstein Scattering anisotropy factor has a value between 0 and 1 and  quantifies the degree of angular distribution in the scattering of photons within a medium. More concretely, g = 0 signifies purely isotropic scattering, indicating an equal probability of scattering in all directions while g = 1 represents completely forward-peaked scattering, indicating a strong preference for photons to be scattered in the forward direction. See referenced documentation for full details about all parameters. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Equivalent Model of Fluorophore Solution ===&lt;br /&gt;
When considering the optical response of the epidermis layer for blue light, absorption occurs both directly in FAD as well as in the rest of the tissue. In MCmatlab, a material can only be defined by a single absorption coefficient and emissivity spectrum. This presents a problem since absorption from surrounding tissue artificially contribute to FAD fluorescence in the model. Unfortunately,  this yields an unacceptable degree of inaccuracy as the overall absorption by the tissue is large compared to the absorption in FAD, due to its low concentration. In other words, the majority of the fluorescence would come from absorption in tissue which normally does not fluoresce. This also makes it hard to model subtle changes in FAD levels due to the strong artificial fluorescence background.&lt;br /&gt;
&lt;br /&gt;
[[File:model.png|500px|thumb|center|The multilayer model for fluorescence Monte Carlo simulation. ]]&lt;br /&gt;
&lt;br /&gt;
To solve this issue, we introduce a multilayer model where FAD molecules distributed in a volume is collected into thin planes spread across the volume (see Figure 1). By separating FAD from the rest of the tissue components, we can define two separate media in MCmatlab with their respective optical properties, avoiding the issue of artificial fluorescence. However, changing the geometry in this way will also affect the optical response. Below, we derive an expression to correct for the geometrical change. &lt;br /&gt;
&lt;br /&gt;
The total optical absorption can be described as:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \propto \int dV (-J)\cdot E = \int dV (-i\omega\varepsilon_0 \chi |E|^2) = \int dV \omega\varepsilon_0 \chi&#039;&#039; |E|^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;J&amp;lt;/math&amp;gt; is the current density, &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; is the electric field, &amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; is the angular frequency of light, &amp;lt;math&amp;gt; \varepsilon_0&amp;lt;/math&amp;gt;  is the free space electric permittivity, &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  is the material susceptibility, and &amp;lt;math&amp;gt;\chi&#039;&#039;&amp;lt;/math&amp;gt; is the imaginary part of &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  representing the optical absorption of a certain material. Under the representation of Beer-Lambert law, the electric field penetrating in the skin can be described as an exponential decay: &amp;lt;math&amp;gt; E = E_0 \exp(-\mu_\alpha z) &amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; is the material absorpsivity in the unit of [cm]&amp;lt;math&amp;gt;^{-1}&amp;lt;/math&amp;gt;. Substituting the exponentially decaying electric field into the absorption expression and applying our one-dimensional multilayer geometry: &lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \cong A \int_{0}^{L_z} dz \exp(-2\mu_\alpha z) = A\frac{1-\exp(-2\mu_\alpha L_z)}{2\mu_\alpha} &amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;L_z&amp;lt;/math&amp;gt; is the total length in z direction. To have the same amount of absorption in the fluorophore when using the multilayer model, we need to equivalently adjust the optical property &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; of the material to balance the effect of shrinking the volume occupied by the fluorophore. Gathering the fluorophore into a thin slab centered at &amp;lt;math&amp;gt;L_z/2&amp;lt;/math&amp;gt;, the absorption here is:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt;  \cong A \int_{L_z/2-\Delta{z}/2}^{L_z/2+\Delta{z}/2} dz \exp(-2\mu_\alpha&#039; z)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; = A\frac{\exp(-\mu_\alpha&#039;L_z)(\exp(\mu_\alpha&#039;\Delta{z})-\exp(-\mu_\alpha&#039;\Delta{z}))}{2\mu_\alpha&#039;}\cong A\exp(-\mu_\alpha&#039;L_z)\Delta{z}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Equaling the absorption and assuming the absorpsivity of FAD is small (&amp;lt;math&amp;gt;\mu_\alpha L_z\ll1&amp;lt;/math&amp;gt;), one can extract an approximate expression for the equivalent absorpsivity:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;    \mu_\alpha&#039; = \frac{1}{L_z}\log(\frac{L_z}{\Delta{z}}). &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using the equivalent absorpsivity correction, the total absorption is the same. In addition, the blue photon absorbed by FAD will result in the fluorescence emission, such that the correct FAD fluorescence activity can be simulated.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Beer-Lambert: Absorbance A is given by &lt;br /&gt;
&amp;lt;math&amp;gt; A= \mu_acl &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for this to be constant in both geometries, we get the relationship:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \mu_{a}cl=\mu_{a}&#039;c&#039;l&#039; &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Thus, &amp;lt;math&amp;gt; \mu_{a}&#039;c&#039;=\mu_{a}c \frac{L_z}{\Delta z} &amp;lt;/math&amp;gt;. This means that we can either change the concentration of the absorption coefficient to compensate for the reduced volume. This hold true as long as the field variation across the volume is linear. This is true when &amp;lt;math&amp;gt;\mu_\alpha L_z\ll1&amp;lt;/math&amp;gt;, since the field decay is approximately linear for a small change in z: &amp;lt;math&amp;gt;\exp(-\mu_\alpha&#039;x) \approx 1-\mu_\alpha&#039;z &amp;lt;/math&amp;gt; for small z. Thus, we can always compensate the change in geometry by choosing a sufficiently small spacing between the thin planes relative to the absorptivity of the material.&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
&lt;br /&gt;
The properties of the dysplastic region directly determines the fluorescence signal. Here, the properties refer to the geometry size, shape, the fluorophore concentration, and the location inside the skin tissue. Below, we will carry out a few computational and numerical experiments to qualitatively describe the dependence between the fluorescence signal strength and these factors. The simulation is conducted based on MCMatlab Fluorescence Monte Carlo simulation package. &lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Width ===&lt;br /&gt;
[[File:results1_updated.png|900px|thumb|center| (a) Schematic of the geometry, which is defined as a one-dimensional variation in FAD concentration with a low concentration at the central part representing the dysplastic region. (b) The actual fluorescence signal measured as a function of x position. The contrast signal is extracted as the ratio between the magnitude of the dip and the maximum signal level. (c) The dependence betweewn the width of the dysplastic region and the fluorescence contrast signal. (d) The measured fluorescence signal for each width value with an increasing width from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
For the first study, the simulated geometry is defined as a one-dimensional concentration variation in &amp;quot;x&amp;quot; as shown in the figure above with a lower FAD concentration at the central region representing the dysplastic region. The width of the dysplastic region is swept and the output fluorescence contrast signal is measured. It is shown that the contrast signal first goes up, then saturates at w~0.35 mm. At small width values, the signals are mixed up from the two edges where the concentration changes sharply, so that one cannot resolve the full contrast signal. When the two edges are separated sufficiently far, the full signal can be resolved, giving a relative fluorescence contrast as 0.3.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Depth ===&lt;br /&gt;
Next, the qualitative relation is studied between the depth of the dysplastic region inside the skin and the fluorescence contrast signal. In this case, the geometry is defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm and the thickness to 0.1 mm. The depth is set as the swept parameter, and it is defined as the distance between the top surface of the epidermis layer and the top surface of the rectangular wire. &lt;br /&gt;
&lt;br /&gt;
[[File:results2_updated.png|600px|thumb|center| (a) Schematic of the geometry, where the FAD concentration inside the rectangular rod is lower, representing the dysplastic region. The depth of the rectangular wire is swept. (b) The dependence betweewn the depth of the dysplastic region and the fluorescence contrast signal. The red dashed line illustrates an exponential fitting of the simulation results. (c) The measured fluorescence signal for each depth value with an increasing depth from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that the fluorescence contrast signal decreases as the depth increases, which agrees with intuition. As for a deeper location inside the skin, it takes farther distance for the fluorescent light to travel out, therefore the distortion introduced by the scattering events as the light propagates through the skin tissue is stronger. In addition, the attenuation from both scattering and absorption is stronger as well, which further reduces the SNR. For depth greater than 0.1 mm, the contrast signal strength is nearly vanishing.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the FAD Concentration Difference ===&lt;br /&gt;
Similarly, the strength of the contrast signal should also be a function of the concentration difference of FAD between the dysplastic and the healthy tissue. The geometry is again defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm, the thickness to 0.1 mm, and the depth is set to 0.04 mm. The volumetric concentration of FAD in the healthy region is fixed to 0.2 while the FAD concentration in the dysplastic region is varied from 0 to 0.2. &lt;br /&gt;
&lt;br /&gt;
[[File:results32_updated.png|900px|thumb|center| (a,c) Schematic of the geometry, (a) has a shallower dysplastic region while it is deeper in (c). The FAD concentration inside the rectangular rod is swept. (b,d) The dependence betweewn the concentration difference and the fluorescence contrast signal. (c) The measured fluorescence signal for each concentration value with a decreasing concentration contrast from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that for 0.04 mm as the depth, the fluorescence contrast signal is linearly proportional to the FAD concentration difference, which again agrees with intuition. The concentration difference determines the distribution in the number of fluorescence emitter, which is equivalent to the source and directly proportional to the fluorescence intensity. When increasing the depth of the rectangular wire to 0.1 mm, again the linear dependence is shown however with an overall lower amplitude, representing the decrease in the number of fluorescence emitter.&lt;br /&gt;
&lt;br /&gt;
=== Image Quality and Simulation Limitations  ===&lt;br /&gt;
Optical Monte Carlo simulations, while powerful and versatile, are computationally demanding due to the nature of light propagation and the need to model a vast number of photon trajectories. The computational expense arises from the necessity to track individual photon interactions and their probabilistic behavior as they scatter, absorb, and move through the medium.  Modeling three-dimensional environments adds complexity, as simulations must account for photon movements in all spatial directions within the medium. To illustrate this, a regular high performance laptop were able to simulate about 10&amp;lt;math&amp;gt;^6&amp;lt;/math&amp;gt; photons per minute, while a 1mW light source at 400 nm emits 10&amp;lt;math&amp;gt;^{15}&amp;lt;/math&amp;gt; photons per second. This can be a problem when trying to model realistic scenarios with low signal to noise. Figure 5 shows a set of images of an embedded dysplastic lesion in healthy tissue, with varying number of simulated photons. &lt;br /&gt;
&lt;br /&gt;
[[File:images_SImTime.png|900px|thumb|center| Image quality as a function of simulation number of photons simulated. Top) Collected images of an embedded dysplastic lesion inside healthy tissue. Bottom) Cross section of the image intensity.  ]]&lt;br /&gt;
&lt;br /&gt;
== Conclusions ==&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
You can write math equations as follows:&lt;br /&gt;
&amp;lt;math&amp;gt;y = x^2 + 5 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can include images as follows (you will need to upload the image first using the toolbox on the left bar, using the &amp;quot;Upload file&amp;quot; link).&lt;br /&gt;
&lt;br /&gt;
[[File:Snip 20210106183207.png|200px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
1. Y. Xu et al. Optical Imaging in the Diagnosis of OPMDs Malignant Transformation, Journal of Dental Research 2022, Vol. 101(7) 749–758&lt;br /&gt;
&lt;br /&gt;
2. MCmatlab package and documentation: https://github.com/ankrh/MCmatlab&lt;/div&gt;</summary>
		<author><name>Bohan</name></author>
	</entry>
	<entry>
		<id>http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=34007</id>
		<title>Medical imaging: Simulations of reflectance and fluorescence of human tissue</title>
		<link rel="alternate" type="text/html" href="http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=34007"/>
		<updated>2023-12-18T17:49:47Z</updated>

		<summary type="html">&lt;p&gt;Bohan: /* Optical Processes in Skin Tissue */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
Squamous dysplasia, a precursor to squamous cell carcinoma, represents a spectrum of histological alterations within the epithelium, characterized by abnormal cellular morphology and metabolism. Early identification is critical to prevent the progression to invasive carcinoma. Auto fluorescent imaging (AFI) has emerged as a promising non-invasive technique for the detection of squamous dysplasia. Flavin adenine dinucleotide (FAD), an essential co-factor in cellular oxidative metabolism, undergoes changes in concentration and redox state during dysplastic transformations. Studies indicate a correlation between dysplastic progression and altered FAD levels, leading to variations in tissue fluorescence&amp;lt;math&amp;gt;^1&amp;lt;/math&amp;gt;. Lower FAD concentrations in dysplastic areas manifest as decreased fluorescence intensity level, which in principle can be imaged with AFI.&lt;br /&gt;
&lt;br /&gt;
AFI uses the intrinsic fluorescent properties of endogenous molecules within tissues. Under appropriate excitation wavelengths, endogenous fluorophores emit light, providing real-time visualization of tissue morphology. The altered metabolic activity and subsequent changes in FAD concentrations in dysplastic tissues offer a distinct fluorescence pattern that is in principle discernible through AFI.&lt;br /&gt;
&lt;br /&gt;
In clinical settings, AFI demonstrates promise as a non-invasive tool for identifying early dysplastic lesions. Its ability to highlight subtle changes in tissue autofluorescence can aid in targeted biopsies and delineation of margins during surgical interventions. In this project, we explore imaging of dysplastic tissues by using optical Monte Carlo based fluorescence simulations. We identify qualitative trends of image quality with respect to dysplastic lesion size, depth, and fluorophore concentration change. Understanding how photons interact with fluorophores, the probability of excitation, and the emitted fluorescence intensity can assist in predicting and interpreting experimental fluorescence measurements.&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
=== Optical Processes in Skin Tissue ===&lt;br /&gt;
When shining light into the skin, there are multiple light-matter interaction processes happening simultaneously, including reflection, absorption, scattering, and fluorescence as depicted in the figure below. &lt;br /&gt;
&lt;br /&gt;
[[File:optical.png|600px|thumb|center| The optical processes heppening in skin tissue and a schematic of simulation, including reflection, scattering, absorption, and fluorescence. ]]&lt;br /&gt;
&lt;br /&gt;
The key process in this study is fluorescence. When short wavelength photon is absorbed, the material will re-emit photon at a longer wavelength and smaller energy. In the epidermis layer of the skin tissue, there are two fluorescence molecules, FAD and NADH, which are related to metabolic activities of cells. By measuring the fluorescence activities, one can monitor the localized concentration of FAD and NADH in the epidermis layer, therefore acquiring early signs on potnetial dysplasia. To model the fluorescence activities in the epidermis layer, the fluorophore is assumed to be uniformly distributed in the epidermis layer as a solution while the dysplastic region can be regarded as some localized volume with a different concentration comparing to the surrounding medium. &lt;br /&gt;
&lt;br /&gt;
Reflection refers to the back-scatter of photon at the interface between different materials when the index of refraction changes. Since the main composition of human skin is water, the variation of index of refraction is minor therefore there is negligible amount of reflection inside human skin. The strongest reflection happens at the surface of skin where photon hits the skin tissue from air. This can result in a spectral reduction of the number of photons actually entering into the skin, which results in a reduction in the actual fluorescence signal strength. &lt;br /&gt;
&lt;br /&gt;
Absorption is an intrinsic property of light-matter interaction where the amplitude of electromagnetic field attenuates as propagating. The absorption in a solution can be quatitatively described using the Beer-Lambert law, where the intensity of light decay exponentially as it travels in the absorptive medium. The decay rate is characterized by the absorption coefficient &amp;lt;math&amp;gt; \mu_\alpha &amp;lt;/math&amp;gt; which is a function of the solvend absorpsivity and its concentration. In human skin tissue, the total amount of absorption can be decomposed into several different components, including absorption from water, fat, melanin, and blood content, which can be cast by an empirical equation [REF]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; mu_{\alpha} =BS\mu_{\alpha,oxy} + B (1-S) \mu_{\alpha,deoxy} + W\mu_{\alpha,water} + F\mu_{\alpha,fat} + M\mu_{\alpha,melanosome} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The scattering process refers to the change in the direction of motion when the photon interacts with the material (mainly the nuclei). In the actual scenario of fluorescence detection, the scattering process can result in two consequences including the attenuation of number of photons in the forward propagating direction, and introducing distortion to the localized signal. The second consequence is the critical factor of reducing the signal to noise ratio, as the localized signal from the dysplasia is smeared by the uncertain scattering processes.&lt;br /&gt;
&lt;br /&gt;
== Methods ==&lt;br /&gt;
&lt;br /&gt;
=== Monte Carlo Simulation ===&lt;br /&gt;
&lt;br /&gt;
Monte Carlo simulations is a useful tool for modeling and understanding the intricate behaviors of light propagation through tissues. These simulations rely on probabilistic algorithms that simulate numerous random trajectories of photons within a medium, enabling the prediction and analysis of light transport in complex systems. These trajectories are based on scattering events and the optical properties of the medium. As photons travel, they undergo interactions, either scattering off structures within the tissue or getting absorbed. The simulations track the path lengths and angles of these photons, ultimately predicting the reflectance and absorption profiles. &lt;br /&gt;
&lt;br /&gt;
To simulate fluorescence, an initial simulation models the absorption of incident photons by fluorescent molecules like FAD or other fluorophores. The resulting absorption profile is then used as a source for fluorescent light of a different wavelength and the Monte Carlo algorithm is applied again.&lt;br /&gt;
&lt;br /&gt;
=== MCMatlab ===&lt;br /&gt;
&lt;br /&gt;
We decided to use MCmatlab based on a class project from last year, where it was implemented to simulate diffuse reflectance of different oxygenation levels for various skin types. &lt;br /&gt;
&lt;br /&gt;
In MCMatlab a medium is defined by specifying a set of parameters&amp;lt;math&amp;gt;^2&amp;lt;/math&amp;gt;. The relevant parameters in our simulation are: Absorption coefficient ‘&amp;lt;math&amp;gt;\mu_a&amp;lt;/math&amp;gt;’, Scattering coefficient ‘&amp;lt;math&amp;gt;\mu_s&amp;lt;/math&amp;gt;’, Emission spectrum ‘&amp;lt;math&amp;gt;\epsilon_{\lambda}&amp;lt;/math&amp;gt;’, Quantum yield &#039;QY&#039;, Henyey-Greenstein Scattering anisotropy factor ‘g’ and Refractive Index ‘n’. &lt;br /&gt;
&lt;br /&gt;
All quantities are a function of wavelength. The absorption coefficient is given in units of cm&amp;lt;math&amp;gt;^{-1}&amp;lt;/math&amp;gt;. The scattering coefficient is expressed as the fraction of photons getting scattered while traveling in a medium per unit distance. The emission spectrum describes the relative spectral power emitted for each wavelength. The quantum yield is defined as the number of photons emitted per absorbed photons. Henyey-Greenstein Scattering anisotropy factor has a value between 0 and 1 and  quantifies the degree of angular distribution in the scattering of photons within a medium. More concretely, g = 0 signifies purely isotropic scattering, indicating an equal probability of scattering in all directions while g = 1 represents completely forward-peaked scattering, indicating a strong preference for photons to be scattered in the forward direction. See referenced documentation for full details about all parameters. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Equivalent Model of Fluorophore Solution ===&lt;br /&gt;
When considering the optical response of the epidermis layer for blue light, absorption occurs both directly in FAD as well as in the rest of the tissue. In MCmatlab, a material can only be defined by a single absorption coefficient and emissivity spectrum. This presents a problem since absorption from surrounding tissue artificially contribute to FAD fluorescence in the model. Unfortunately,  this yields an unacceptable degree of inaccuracy as the overall absorption by the tissue is large compared to the absorption in FAD, due to its low concentration. In other words, the majority of the fluorescence would come from absorption in tissue which normally does not fluoresce. This also makes it hard to model subtle changes in FAD levels due to the strong artificial fluorescence background.&lt;br /&gt;
&lt;br /&gt;
[[File:model.png|500px|thumb|center|The multilayer model for fluorescence Monte Carlo simulation. ]]&lt;br /&gt;
&lt;br /&gt;
To solve this issue, we introduce a multilayer model where FAD molecules distributed in a volume is collected into thin planes spread across the volume (see Figure 1). By separating FAD from the rest of the tissue components, we can define two separate media in MCmatlab with their respective optical properties, avoiding the issue of artificial fluorescence. However, changing the geometry in this way will also affect the optical response. Below, we derive an expression to correct for the geometrical change. &lt;br /&gt;
&lt;br /&gt;
The total optical absorption can be described as:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \propto \int dV (-J)\cdot E = \int dV (-i\omega\varepsilon_0 \chi |E|^2) = \int dV \omega\varepsilon_0 \chi&#039;&#039; |E|^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;J&amp;lt;/math&amp;gt; is the current density, &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; is the electric field, &amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; is the angular frequency of light, &amp;lt;math&amp;gt; \varepsilon_0&amp;lt;/math&amp;gt;  is the free space electric permittivity, &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  is the material susceptibility, and &amp;lt;math&amp;gt;\chi&#039;&#039;&amp;lt;/math&amp;gt; is the imaginary part of &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  representing the optical absorption of a certain material. Under the representation of Beer-Lambert law, the electric field penetrating in the skin can be described as an exponential decay: &amp;lt;math&amp;gt; E = E_0 \exp(-\mu_\alpha z) &amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; is the material absorpsivity in the unit of [cm]&amp;lt;math&amp;gt;^{-1}&amp;lt;/math&amp;gt;. Substituting the exponentially decaying electric field into the absorption expression and applying our one-dimensional multilayer geometry: &lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \cong A \int_{0}^{L_z} dz \exp(-2\mu_\alpha z) = A\frac{1-\exp(-2\mu_\alpha L_z)}{2\mu_\alpha} &amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;L_z&amp;lt;/math&amp;gt; is the total length in z direction. To have the same amount of absorption in the fluorophore when using the multilayer model, we need to equivalently adjust the optical property &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; of the material to balance the effect of shrinking the volume occupied by the fluorophore. Gathering the fluorophore into a thin slab centered at &amp;lt;math&amp;gt;L_z/2&amp;lt;/math&amp;gt;, the absorption here is:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt;  \cong A \int_{L_z/2-\Delta{z}/2}^{L_z/2+\Delta{z}/2} dz \exp(-2\mu_\alpha&#039; z)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; = A\frac{\exp(-\mu_\alpha&#039;L_z)(\exp(\mu_\alpha&#039;\Delta{z})-\exp(-\mu_\alpha&#039;\Delta{z}))}{2\mu_\alpha&#039;}\cong A\exp(-\mu_\alpha&#039;L_z)\Delta{z}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Equaling the absorption and assuming the absorpsivity of FAD is small (&amp;lt;math&amp;gt;\mu_\alpha L_z\ll1&amp;lt;/math&amp;gt;), one can extract an approximate expression for the equivalent absorpsivity:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;    \mu_\alpha&#039; = \frac{1}{L_z}\log(\frac{L_z}{\Delta{z}}). &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using the equivalent absorpsivity correction, the total absorption is the same. In addition, the blue photon absorbed by FAD will result in the fluorescence emission, such that the correct FAD fluorescence activity can be simulated.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Beer-Lambert: Absorbance A is given by &lt;br /&gt;
&amp;lt;math&amp;gt; A= \mu_acl &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for this to be constant in both geometries, we get the relationship:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \mu_{a}cl=\mu_{a}&#039;c&#039;l&#039; &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Thus, &amp;lt;math&amp;gt; \mu_{a}&#039;c&#039;=\mu_{a}c \frac{L_z}{\Delta z} &amp;lt;/math&amp;gt;. This means that we can either change the concentration of the absorption coefficient to compensate for the reduced volume. This hold true as long as the field variation across the volume is linear. This is true when &amp;lt;math&amp;gt;\mu_\alpha L_z\ll1&amp;lt;/math&amp;gt;, since the field decay is approximately linear for a small change in z: &amp;lt;math&amp;gt;\exp(-\mu_\alpha&#039;x) \approx 1-\mu_\alpha&#039;z &amp;lt;/math&amp;gt; for small z. Thus, we can always compensate the change in geometry by choosing a sufficiently small spacing between the thin planes relative to the absorptivity of the material.&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
&lt;br /&gt;
The properties of the dysplastic region directly determines the fluorescence signal. Here, the properties refer to the geometry size, shape, the fluorophore concentration, and the location inside the skin tissue. Below, we will carry out a few computational and numerical experiments to qualitatively describe the dependence between the fluorescence signal strength and these factors. The simulation is conducted based on MCMatlab Fluorescence Monte Carlo simulation package. &lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Width ===&lt;br /&gt;
[[File:results1_updated.png|900px|thumb|center| (a) Schematic of the geometry, which is defined as a one-dimensional variation in FAD concentration with a low concentration at the central part representing the dysplastic region. (b) The actual fluorescence signal measured as a function of x position. The contrast signal is extracted as the ratio between the magnitude of the dip and the maximum signal level. (c) The dependence betweewn the width of the dysplastic region and the fluorescence contrast signal. (d) The measured fluorescence signal for each width value with an increasing width from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
For the first study, the simulated geometry is defined as a one-dimensional concentration variation in &amp;quot;x&amp;quot; as shown in the figure above with a lower FAD concentration at the central region representing the dysplastic region. The width of the dysplastic region is swept and the output fluorescence contrast signal is measured. It is shown that the contrast signal first goes up, then saturates at w~0.35 mm. At small width values, the signals are mixed up from the two edges where the concentration changes sharply, so that one cannot resolve the full contrast signal. When the two edges are separated sufficiently far, the full signal can be resolved, giving a relative fluorescence contrast as 0.3.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Depth ===&lt;br /&gt;
Next, the qualitative relation is studied between the depth of the dysplastic region inside the skin and the fluorescence contrast signal. In this case, the geometry is defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm and the thickness to 0.1 mm. The depth is set as the swept parameter, and it is defined as the distance between the top surface of the epidermis layer and the top surface of the rectangular wire. &lt;br /&gt;
&lt;br /&gt;
[[File:results2_updated.png|600px|thumb|center| (a) Schematic of the geometry, where the FAD concentration inside the rectangular rod is lower, representing the dysplastic region. The depth of the rectangular wire is swept. (b) The dependence betweewn the depth of the dysplastic region and the fluorescence contrast signal. The red dashed line illustrates an exponential fitting of the simulation results. (c) The measured fluorescence signal for each depth value with an increasing depth from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that the fluorescence contrast signal decreases as the depth increases, which agrees with intuition. As for a deeper location inside the skin, it takes farther distance for the fluorescent light to travel out, therefore the distortion introduced by the scattering events as the light propagates through the skin tissue is stronger. In addition, the attenuation from both scattering and absorption is stronger as well, which further reduces the SNR. For depth greater than 0.1 mm, the contrast signal strength is nearly vanishing.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the FAD Concentration Difference ===&lt;br /&gt;
Similarly, the strength of the contrast signal should also be a function of the concentration difference of FAD between the dysplastic and the healthy tissue. The geometry is again defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm, the thickness to 0.1 mm, and the depth is set to 0.04 mm. The volumetric concentration of FAD in the healthy region is fixed to 0.2 while the FAD concentration in the dysplastic region is varied from 0 to 0.2. &lt;br /&gt;
&lt;br /&gt;
[[File:results32_updated.png|900px|thumb|center| (a,c) Schematic of the geometry, (a) has a shallower dysplastic region while it is deeper in (c). The FAD concentration inside the rectangular rod is swept. (b,d) The dependence betweewn the concentration difference and the fluorescence contrast signal. (c) The measured fluorescence signal for each concentration value with a decreasing concentration contrast from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that for 0.04 mm as the depth, the fluorescence contrast signal is linearly proportional to the FAD concentration difference, which again agrees with intuition. The concentration difference determines the distribution in the number of fluorescence emitter, which is equivalent to the source and directly proportional to the fluorescence intensity. When increasing the depth of the rectangular wire to 0.1 mm, again the linear dependence is shown however with an overall lower amplitude, representing the decrease in the number of fluorescence emitter.&lt;br /&gt;
&lt;br /&gt;
=== Image Quality and Simulation Limitations  ===&lt;br /&gt;
Optical Monte Carlo simulations, while powerful and versatile, are computationally demanding due to the nature of light propagation and the need to model a vast number of photon trajectories. The computational expense arises from the necessity to track individual photon interactions and their probabilistic behavior as they scatter, absorb, and move through the medium.  Modeling three-dimensional environments adds complexity, as simulations must account for photon movements in all spatial directions within the medium. To illustrate this, a regular high performance laptop were able to simulate about 10&amp;lt;math&amp;gt;^6&amp;lt;/math&amp;gt; photons per minute, while a 1mW light source at 400 nm emits 10&amp;lt;math&amp;gt;^{15}&amp;lt;/math&amp;gt; photons per second. This can be a problem when trying to model realistic scenarios with low signal to noise. Figure 5 shows a set of images of an embedded dysplastic lesion in healthy tissue, with varying number of simulated photons. &lt;br /&gt;
&lt;br /&gt;
[[File:images_SImTime.png|900px|thumb|center| Image quality as a function of simulation number of photons simulated. Top) Collected images of an embedded dysplastic lesion inside healthy tissue. Bottom) Cross section of the image intensity.  ]]&lt;br /&gt;
&lt;br /&gt;
== Conclusions ==&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
You can write math equations as follows:&lt;br /&gt;
&amp;lt;math&amp;gt;y = x^2 + 5 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can include images as follows (you will need to upload the image first using the toolbox on the left bar, using the &amp;quot;Upload file&amp;quot; link).&lt;br /&gt;
&lt;br /&gt;
[[File:Snip 20210106183207.png|200px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
1. Y. Xu et al. Optical Imaging in the Diagnosis of OPMDs Malignant Transformation, Journal of Dental Research 2022, Vol. 101(7) 749–758&lt;br /&gt;
&lt;br /&gt;
2. MCmatlab package and documentation: https://github.com/ankrh/MCmatlab&lt;/div&gt;</summary>
		<author><name>Bohan</name></author>
	</entry>
	<entry>
		<id>http://vista.su.domains/psych221wiki/index.php?title=File:Optical.png&amp;diff=34004</id>
		<title>File:Optical.png</title>
		<link rel="alternate" type="text/html" href="http://vista.su.domains/psych221wiki/index.php?title=File:Optical.png&amp;diff=34004"/>
		<updated>2023-12-18T17:48:01Z</updated>

		<summary type="html">&lt;p&gt;Bohan: Bohan uploaded a new version of File:Optical.png&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Bohan</name></author>
	</entry>
	<entry>
		<id>http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=34002</id>
		<title>Medical imaging: Simulations of reflectance and fluorescence of human tissue</title>
		<link rel="alternate" type="text/html" href="http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=34002"/>
		<updated>2023-12-18T17:47:43Z</updated>

		<summary type="html">&lt;p&gt;Bohan: /* Optical Processes in Skin Tissue */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
Squamous dysplasia, a precursor to squamous cell carcinoma, represents a spectrum of histological alterations within the epithelium, characterized by abnormal cellular morphology and metabolism. Early identification is critical to prevent the progression to invasive carcinoma. Auto fluorescent imaging (AFI) has emerged as a promising non-invasive technique for the detection of squamous dysplasia. Flavin adenine dinucleotide (FAD), an essential co-factor in cellular oxidative metabolism, undergoes changes in concentration and redox state during dysplastic transformations. Studies indicate a correlation between dysplastic progression and altered FAD levels, leading to variations in tissue fluorescence&amp;lt;math&amp;gt;^1&amp;lt;/math&amp;gt;. Lower FAD concentrations in dysplastic areas manifest as decreased fluorescence intensity level, which in principle can be imaged with AFI.&lt;br /&gt;
&lt;br /&gt;
AFI uses the intrinsic fluorescent properties of endogenous molecules within tissues. Under appropriate excitation wavelengths, endogenous fluorophores emit light, providing real-time visualization of tissue morphology. The altered metabolic activity and subsequent changes in FAD concentrations in dysplastic tissues offer a distinct fluorescence pattern that is in principle discernible through AFI.&lt;br /&gt;
&lt;br /&gt;
In clinical settings, AFI demonstrates promise as a non-invasive tool for identifying early dysplastic lesions. Its ability to highlight subtle changes in tissue autofluorescence can aid in targeted biopsies and delineation of margins during surgical interventions. In this project, we explore imaging of dysplastic tissues by using optical Monte Carlo based fluorescence simulations. We identify qualitative trends of image quality with respect to dysplastic lesion size, depth, and fluorophore concentration change. Understanding how photons interact with fluorophores, the probability of excitation, and the emitted fluorescence intensity can assist in predicting and interpreting experimental fluorescence measurements.&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
=== Optical Processes in Skin Tissue ===&lt;br /&gt;
When shining light into the skin, there are multiple light-matter interaction processes happening simultaneously, including reflection, absorption, scattering, and fluorescence as depicted in the figure below. &lt;br /&gt;
&lt;br /&gt;
[[File:optical.png|600px|thumb|center| The optical processes heppening in skin tissue and a schematic of simulation. Here the  ]]&lt;br /&gt;
&lt;br /&gt;
The key process in this study is fluorescence. When short wavelength photon is absorbed, the material will re-emit photon at a longer wavelength and smaller energy. In the epidermis layer of the skin tissue, there are two fluorescence molecules, FAD and NADH, which are related to metabolic activities of cells. By measuring the fluorescence activities, one can monitor the localized concentration of FAD and NADH in the epidermis layer, therefore acquiring early signs on potnetial dysplasia. To model the fluorescence activities in the epidermis layer, the fluorophore is assumed to be uniformly distributed in the epidermis layer as a solution while the dysplastic region can be regarded as some localized volume with a different concentration comparing to the surrounding medium. &lt;br /&gt;
&lt;br /&gt;
Reflection refers to the back-scatter of photon at the interface between different materials when the index of refraction changes. Since the main composition of human skin is water, the variation of index of refraction is minor therefore there is negligible amount of reflection inside human skin. The strongest reflection happens at the surface of skin where photon hits the skin tissue from air. This can result in a spectral reduction of the number of photons actually entering into the skin, which results in a reduction in the actual fluorescence signal strength. &lt;br /&gt;
&lt;br /&gt;
Absorption is an intrinsic property of light-matter interaction where the amplitude of electromagnetic field attenuates as propagating. The absorption in a solution can be quatitatively described using the Beer-Lambert law, where the intensity of light decay exponentially as it travels in the absorptive medium. The decay rate is characterized by the absorption coefficient &amp;lt;math&amp;gt; \mu_\alpha &amp;lt;/math&amp;gt; which is a function of the solvend absorpsivity and its concentration. In human skin tissue, the total amount of absorption can be decomposed into several different components, including absorption from water, fat, melanin, and blood content, which can be cast by an empirical equation [REF]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; mu_{\alpha} =BS\mu_{\alpha,oxy} + B (1-S) \mu_{\alpha,deoxy} + W\mu_{\alpha,water} + F\mu_{\alpha,fat} + M\mu_{\alpha,melanosome} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The scattering process refers to the change in the direction of motion when the photon interacts with the material (mainly the nuclei). In the actual scenario of fluorescence detection, the scattering process can result in two consequences including the attenuation of number of photons in the forward propagating direction, and introducing distortion to the localized signal. The second consequence is the critical factor of reducing the signal to noise ratio, as the localized signal from the dysplasia is smeared by the uncertain scattering processes.&lt;br /&gt;
&lt;br /&gt;
== Methods ==&lt;br /&gt;
&lt;br /&gt;
=== Monte Carlo Simulation ===&lt;br /&gt;
&lt;br /&gt;
Monte Carlo simulations is a useful tool for modeling and understanding the intricate behaviors of light propagation through tissues. These simulations rely on probabilistic algorithms that simulate numerous random trajectories of photons within a medium, enabling the prediction and analysis of light transport in complex systems. These trajectories are based on scattering events and the optical properties of the medium. As photons travel, they undergo interactions, either scattering off structures within the tissue or getting absorbed. The simulations track the path lengths and angles of these photons, ultimately predicting the reflectance and absorption profiles. &lt;br /&gt;
&lt;br /&gt;
To simulate fluorescence, an initial simulation models the absorption of incident photons by fluorescent molecules like FAD or other fluorophores. The resulting absorption profile is then used as a source for fluorescent light of a different wavelength and the Monte Carlo algorithm is applied again.&lt;br /&gt;
&lt;br /&gt;
=== MCMatlab ===&lt;br /&gt;
&lt;br /&gt;
We decided to use MCmatlab based on a class project from last year, where it was implemented to simulate diffuse reflectance of different oxygenation levels for various skin types. &lt;br /&gt;
&lt;br /&gt;
In MCMatlab a medium is defined by specifying a set of parameters&amp;lt;math&amp;gt;^2&amp;lt;/math&amp;gt;. The relevant parameters in our simulation are: Absorption coefficient ‘&amp;lt;math&amp;gt;\mu_a&amp;lt;/math&amp;gt;’, Scattering coefficient ‘&amp;lt;math&amp;gt;\mu_s&amp;lt;/math&amp;gt;’, Emission spectrum ‘&amp;lt;math&amp;gt;\epsilon_{\lambda}&amp;lt;/math&amp;gt;’, Quantum yield &#039;QY&#039;, Henyey-Greenstein Scattering anisotropy factor ‘g’ and Refractive Index ‘n’. &lt;br /&gt;
&lt;br /&gt;
All quantities are a function of wavelength. The absorption coefficient is given in units of cm&amp;lt;math&amp;gt;^{-1}&amp;lt;/math&amp;gt;. The scattering coefficient is expressed as the fraction of photons getting scattered while traveling in a medium per unit distance. The emission spectrum describes the relative spectral power emitted for each wavelength. The quantum yield is defined as the number of photons emitted per absorbed photons. Henyey-Greenstein Scattering anisotropy factor has a value between 0 and 1 and  quantifies the degree of angular distribution in the scattering of photons within a medium. More concretely, g = 0 signifies purely isotropic scattering, indicating an equal probability of scattering in all directions while g = 1 represents completely forward-peaked scattering, indicating a strong preference for photons to be scattered in the forward direction. See referenced documentation for full details about all parameters. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Equivalent Model of Fluorophore Solution ===&lt;br /&gt;
When considering the optical response of the epidermis layer for blue light, absorption occurs both directly in FAD as well as in the rest of the tissue. In MCmatlab, a material can only be defined by a single absorption coefficient and emissivity spectrum. This presents a problem since absorption from surrounding tissue artificially contribute to FAD fluorescence in the model. Unfortunately,  this yields an unacceptable degree of inaccuracy as the overall absorption by the tissue is large compared to the absorption in FAD, due to its low concentration. In other words, the majority of the fluorescence would come from absorption in tissue which normally does not fluoresce. This also makes it hard to model subtle changes in FAD levels due to the strong artificial fluorescence background.&lt;br /&gt;
&lt;br /&gt;
[[File:model.png|500px|thumb|center|The multilayer model for fluorescence Monte Carlo simulation. ]]&lt;br /&gt;
&lt;br /&gt;
To solve this issue, we introduce a multilayer model where FAD molecules distributed in a volume is collected into thin planes spread across the volume (see Figure 1). By separating FAD from the rest of the tissue components, we can define two separate media in MCmatlab with their respective optical properties, avoiding the issue of artificial fluorescence. However, changing the geometry in this way will also affect the optical response. Below, we derive an expression to correct for the geometrical change. &lt;br /&gt;
&lt;br /&gt;
The total optical absorption can be described as:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \propto \int dV (-J)\cdot E = \int dV (-i\omega\varepsilon_0 \chi |E|^2) = \int dV \omega\varepsilon_0 \chi&#039;&#039; |E|^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;J&amp;lt;/math&amp;gt; is the current density, &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; is the electric field, &amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; is the angular frequency of light, &amp;lt;math&amp;gt; \varepsilon_0&amp;lt;/math&amp;gt;  is the free space electric permittivity, &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  is the material susceptibility, and &amp;lt;math&amp;gt;\chi&#039;&#039;&amp;lt;/math&amp;gt; is the imaginary part of &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  representing the optical absorption of a certain material. Under the representation of Beer-Lambert law, the electric field penetrating in the skin can be described as an exponential decay: &amp;lt;math&amp;gt; E = E_0 \exp(-\mu_\alpha z) &amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; is the material absorpsivity in the unit of [cm]&amp;lt;math&amp;gt;^{-1}&amp;lt;/math&amp;gt;. Substituting the exponentially decaying electric field into the absorption expression and applying our one-dimensional multilayer geometry: &lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \cong A \int_{0}^{L_z} dz \exp(-2\mu_\alpha z) = A\frac{1-\exp(-2\mu_\alpha L_z)}{2\mu_\alpha} &amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;L_z&amp;lt;/math&amp;gt; is the total length in z direction. To have the same amount of absorption in the fluorophore when using the multilayer model, we need to equivalently adjust the optical property &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; of the material to balance the effect of shrinking the volume occupied by the fluorophore. Gathering the fluorophore into a thin slab centered at &amp;lt;math&amp;gt;L_z/2&amp;lt;/math&amp;gt;, the absorption here is:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt;  \cong A \int_{L_z/2-\Delta{z}/2}^{L_z/2+\Delta{z}/2} dz \exp(-2\mu_\alpha&#039; z)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; = A\frac{\exp(-\mu_\alpha&#039;L_z)(\exp(\mu_\alpha&#039;\Delta{z})-\exp(-\mu_\alpha&#039;\Delta{z}))}{2\mu_\alpha&#039;}\cong A\exp(-\mu_\alpha&#039;L_z)\Delta{z}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Equaling the absorption and assuming the absorpsivity of FAD is small (&amp;lt;math&amp;gt;\mu_\alpha L_z\ll1&amp;lt;/math&amp;gt;), one can extract an approximate expression for the equivalent absorpsivity:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;    \mu_\alpha&#039; = \frac{1}{L_z}\log(\frac{L_z}{\Delta{z}}). &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using the equivalent absorpsivity correction, the total absorption is the same. In addition, the blue photon absorbed by FAD will result in the fluorescence emission, such that the correct FAD fluorescence activity can be simulated.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Beer-Lambert: Absorbance A is given by &lt;br /&gt;
&amp;lt;math&amp;gt; A= \mu_acl &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for this to be constant in both geometries, we get the relationship:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \mu_{a}cl=\mu_{a}&#039;c&#039;l&#039; &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Thus, &amp;lt;math&amp;gt; \mu_{a}&#039;c&#039;=\mu_{a}c \frac{L_z}{\Delta z} &amp;lt;/math&amp;gt;. This means that we can either change the concentration of the absorption coefficient to compensate for the reduced volume. This hold true as long as the field variation across the volume is linear. This is true when &amp;lt;math&amp;gt;\mu_\alpha L_z\ll1&amp;lt;/math&amp;gt;, since the &amp;lt;math&amp;gt;L\exp(-\mu_\alpha&#039;x) \approx 1-\mu_\alpha&#039;x &amp;lt;/math&amp;gt; for small x.&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
&lt;br /&gt;
The properties of the dysplastic region directly determines the fluorescence signal. Here, the properties refer to the geometry size, shape, the fluorophore concentration, and the location inside the skin tissue. Below, we will carry out a few computational and numerical experiments to qualitatively describe the dependence between the fluorescence signal strength and these factors. The simulation is conducted based on MCMatlab Fluorescence Monte Carlo simulation package. &lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Width ===&lt;br /&gt;
[[File:results1_updated.png|900px|thumb|center| (a) Schematic of the geometry, which is defined as a one-dimensional variation in FAD concentration with a low concentration at the central part representing the dysplastic region. (b) The actual fluorescence signal measured as a function of x position. The contrast signal is extracted as the ratio between the magnitude of the dip and the maximum signal level. (c) The dependence betweewn the width of the dysplastic region and the fluorescence contrast signal. (d) The measured fluorescence signal for each width value with an increasing width from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
For the first study, the simulated geometry is defined as a one-dimensional concentration variation in &amp;quot;x&amp;quot; as shown in the figure above with a lower FAD concentration at the central region representing the dysplastic region. The width of the dysplastic region is swept and the output fluorescence contrast signal is measured. It is shown that the contrast signal first goes up, then saturates at w~0.35 mm. At small width values, the signals are mixed up from the two edges where the concentration changes sharply, so that one cannot resolve the full contrast signal. When the two edges are separated sufficiently far, the full signal can be resolved, giving a relative fluorescence contrast as 0.3.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Depth ===&lt;br /&gt;
Next, the qualitative relation is studied between the depth of the dysplastic region inside the skin and the fluorescence contrast signal. In this case, the geometry is defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm and the thickness to 0.1 mm. The depth is set as the swept parameter, and it is defined as the distance between the top surface of the epidermis layer and the top surface of the rectangular wire. &lt;br /&gt;
&lt;br /&gt;
[[File:results2_updated.png|600px|thumb|center| (a) Schematic of the geometry, where the FAD concentration inside the rectangular rod is lower, representing the dysplastic region. The depth of the rectangular wire is swept. (b) The dependence betweewn the depth of the dysplastic region and the fluorescence contrast signal. The red dashed line illustrates an exponential fitting of the simulation results. (c) The measured fluorescence signal for each depth value with an increasing depth from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that the fluorescence contrast signal decreases as the depth increases, which agrees with intuition. As for a deeper location inside the skin, it takes farther distance for the fluorescent light to travel out, therefore the distortion introduced by the scattering events as the light propagates through the skin tissue is stronger. In addition, the attenuation from both scattering and absorption is stronger as well, which further reduces the SNR. For depth greater than 0.1 mm, the contrast signal strength is nearly vanishing.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the FAD Concentration Difference ===&lt;br /&gt;
Similarly, the strength of the contrast signal should also be a function of the concentration difference of FAD between the dysplastic and the healthy tissue. The geometry is again defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm, the thickness to 0.1 mm, and the depth is set to 0.04 mm. The volumetric concentration of FAD in the healthy region is fixed to 0.2 while the FAD concentration in the dysplastic region is varied from 0 to 0.2. &lt;br /&gt;
&lt;br /&gt;
[[File:results32_updated.png|900px|thumb|center| (a,c) Schematic of the geometry, (a) has a shallower dysplastic region while it is deeper in (c). The FAD concentration inside the rectangular rod is swept. (b,d) The dependence betweewn the concentration difference and the fluorescence contrast signal. (c) The measured fluorescence signal for each concentration value with a decreasing concentration contrast from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that for 0.04 mm as the depth, the fluorescence contrast signal is linearly proportional to the FAD concentration difference, which again agrees with intuition. The concentration difference determines the distribution in the number of fluorescence emitter, which is equivalent to the source and directly proportional to the fluorescence intensity. When increasing the depth of the rectangular wire to 0.1 mm, again the linear dependence is shown however with an overall lower amplitude, representing the decrease in the number of fluorescence emitter.&lt;br /&gt;
&lt;br /&gt;
=== Image Quality and Simulation Limitations  ===&lt;br /&gt;
Optical Monte Carlo simulations, while powerful and versatile, are computationally demanding due to the nature of light propagation and the need to model a vast number of photon trajectories. The computational expense arises from the necessity to track individual photon interactions and their probabilistic behavior as they scatter, absorb, and move through the medium.  Modeling three-dimensional environments adds complexity, as simulations must account for photon movements in all spatial directions within the medium. To illustrate this, a regular high performance laptop were able to simulate about 10&amp;lt;math&amp;gt;^6&amp;lt;/math&amp;gt; photons per minute, while a 1mW light source at 400 nm emits 10&amp;lt;math&amp;gt;^{15}&amp;lt;/math&amp;gt; photons per second. This can be a problem when trying to model realistic scenarios with low signal to noise. Figure 5 shows a set of images of an embedded dysplastic lesion in healthy tissue, with varying number of simulated photons. &lt;br /&gt;
&lt;br /&gt;
[[File:images_SImTime.png|900px|thumb|center| Image quality as a function of simulation number of photons simulated. Top) Collected images of an embedded dysplastic lesion inside healthy tissue. Bottom) Cross section of the image intensity.  ]]&lt;br /&gt;
&lt;br /&gt;
== Conclusions ==&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
You can write math equations as follows:&lt;br /&gt;
&amp;lt;math&amp;gt;y = x^2 + 5 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can include images as follows (you will need to upload the image first using the toolbox on the left bar, using the &amp;quot;Upload file&amp;quot; link).&lt;br /&gt;
&lt;br /&gt;
[[File:Snip 20210106183207.png|200px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
1. Y. Xu et al. Optical Imaging in the Diagnosis of OPMDs Malignant Transformation, Journal of Dental Research 2022, Vol. 101(7) 749–758&lt;br /&gt;
&lt;br /&gt;
2. MCmatlab package and documentation: https://github.com/ankrh/MCmatlab&lt;/div&gt;</summary>
		<author><name>Bohan</name></author>
	</entry>
	<entry>
		<id>http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=33985</id>
		<title>Medical imaging: Simulations of reflectance and fluorescence of human tissue</title>
		<link rel="alternate" type="text/html" href="http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=33985"/>
		<updated>2023-12-18T17:10:03Z</updated>

		<summary type="html">&lt;p&gt;Bohan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
Squamous dysplasia, a precursor to squamous cell carcinoma, represents a spectrum of histological alterations within the epithelium, characterized by abnormal cellular morphology and metabolism. Early identification is critical to prevent the progression to invasive carcinoma. Auto fluorescent imaging (AFI) has emerged as a promising non-invasive technique for the detection of squamous dysplasia. Flavin adenine dinucleotide (FAD), an essential co-factor in cellular oxidative metabolism, undergoes changes in concentration and redox state during dysplastic transformations. Studies indicate a correlation between dysplastic progression and altered FAD levels, leading to variations in tissue fluorescence. Lower FAD concentrations in dysplastic areas manifest as decreased fluorescence intensity level, which in principle can be imaged with AFI.&lt;br /&gt;
&lt;br /&gt;
AFI uses the intrinsic fluorescent properties of endogenous molecules within tissues. Under appropriate excitation wavelengths, endogenous fluorophores emit light, providing real-time visualization of tissue morphology. The altered metabolic activity and subsequent changes in FAD concentrations in dysplastic tissues offer a distinct fluorescence pattern that is in principle discernible through AFI.&lt;br /&gt;
&lt;br /&gt;
In clinical settings, AFI demonstrates promise as a non-invasive tool for identifying early dysplastic lesions. Its ability to highlight subtle changes in tissue autofluorescence can aid in targeted biopsies and delineation of margins during surgical interventions. In this project, we explore imaging of dysplastic tissues by using optical Monte Carlo based fluorescence simulations. We identify qualitative trends of image quality with respect to dysplastic lesion size, depth, and fluorophore concentration change. Understanding how photons interact with fluorophores, the probability of excitation, and the emitted fluorescence intensity can assist in predicting and interpreting experimental fluorescence measurements.&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
=== Optical Processes in Skin Tissue ===&lt;br /&gt;
When shining light into the skin, there are multiple light-matter interaction processes happening simultaneously, including reflection, absorption, scattering, and fluorescence as depicted in the figure below. &lt;br /&gt;
&lt;br /&gt;
[[File:optical.png|600px|thumb|center| The optical processes in skin tissue. ]]&lt;br /&gt;
&lt;br /&gt;
The key process in this study is fluorescence. When short wavelength photon is absorbed, the material will re-emit photon at a longer wavelength and smaller energy. In the epidermis layer of the skin tissue, there are two fluorescence molecules, FAD and NADH, which are related to metabolic activities of cells. By measuring the fluorescence activities, one can monitor the localized concentration of FAD and NADH in the epidermis layer, therefore acquiring early signs on potnetial dysplasia. To model the fluorescence activities in the epidermis layer, the fluorophore is assumed to be uniformly distributed in the epidermis layer as a solution while the dysplastic region can be regarded as some localized volume with a different concentration comparing to the surrounding medium. &lt;br /&gt;
&lt;br /&gt;
Reflection refers to the back-scatter of photon at the interface between different materials when the index of refraction changes. Since the main composition of human skin is water, the variation of index of refraction is minor therefore there is negligible amount of reflection inside human skin. The strongest reflection happens at the surface of skin where photon hits the skin tissue from air. This can result in a spectral reduction of the number of photons actually entering into the skin, which results in a reduction in the actual fluorescence signal strength. &lt;br /&gt;
&lt;br /&gt;
Absorption is an intrinsic property of light-matter interaction where the amplitude of electromagnetic field attenuates as propagating. The absorption in a solution can be quatitatively described using the Beer-Lambert law, where the intensity of light decay exponentially as it travels in the absorptive medium. The decay rate is characterized by the absorption coefficient &amp;lt;math&amp;gt; \mu_\alpha &amp;lt;/math&amp;gt; which is a function of the solvend absorpsivity and its concentration. In human skin tissue, the total amount of absorption can be decomposed into several different components, including absorption from water, fat, melanin, and blood content, which can be cast by an empirical equation [REF]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; mu_{\alpha} =BS\mu_{\alpha,oxy} + B (1-S) \mu_{\alpha,deoxy} + W\mu_{\alpha,water} + F\mu_{\alpha,fat} + M\mu_{\alpha,melanosome} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The scattering process refers to the change in the direction of motion when the photon interacts with the material (mainly the nuclei). In the actual scenario of fluorescence detection, the scattering process can result in two consequences including the attenuation of number of photons in the forward propagating direction, and introducing distortion to the localized signal. The second consequence is the critical factor of reducing the signal to noise ratio, as the localized signal from the dysplasia is smeared by the uncertain scattering processes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Methods ==&lt;br /&gt;
&lt;br /&gt;
=== Monte Carlo Simulation ===&lt;br /&gt;
&lt;br /&gt;
Monte Carlo simulations is a useful tool for modeling and understanding the intricate behaviors of light propagation through tissues. These simulations rely on probabilistic algorithms that simulate numerous random trajectories of photons within a medium, enabling the prediction and analysis of light transport in complex systems. These trajectories are based on scattering events and the optical properties of the medium. As photons travel, they undergo interactions, either scattering off structures within the tissue or getting absorbed. The simulations track the path lengths and angles of these photons, ultimately predicting the reflectance and absorption profiles. &lt;br /&gt;
&lt;br /&gt;
To simulate fluorescence, an initial simulation models the absorption of incident photons by fluorescent molecules like FAD or other fluorophores. The resulting absorption profile is then used as a source for fluorescent light of a different wavelength and the Monte Carlo algorithm is applied again.&lt;br /&gt;
&lt;br /&gt;
=== MCMatlab ===&lt;br /&gt;
&lt;br /&gt;
We decided to use MCmatlab based on a class project from last year, where it was implemented to simulate diffuse reflectance of different oxygenation levels for various skin types. &lt;br /&gt;
&lt;br /&gt;
In MCMatlab a medium is defined by specifying a set of parameters. The relevant parameters in our simulation are: Absorption coefficient ‘&amp;lt;math&amp;gt;\mu_a&amp;lt;/math&amp;gt;’, Scattering coefficient ‘&amp;lt;math&amp;gt;\mu_s&amp;lt;/math&amp;gt;’, Emission spectrum ‘&amp;lt;math&amp;gt;\epsilon_{\lambda}&amp;lt;/math&amp;gt;’, Quantum yield &#039;QY&#039;, Henyey-Greenstein Scattering anisotropy factor ‘g’ and Refractive Index ‘n’.&lt;br /&gt;
&lt;br /&gt;
All quantities are a function of wavelength. The absorption coefficient is given in units of cm&amp;lt;math&amp;gt;^{-1}&amp;lt;/math&amp;gt;. The scattering coefficient is expressed as the fraction of photons getting scattered while traveling in a medium per unit distance. The emission spectrum describes the relative spectral power emitted for each wavelength. The quantum yield is defined as the number of photons emitted per absorbed photons. Henyey-Greenstein Scattering anisotropy factor has a value between 0 and 1 and  quantifies the degree of angular distribution in the scattering of photons within a medium. More concretely, g = 0 signifies purely isotropic scattering, indicating an equal probability of scattering in all directions while g = 1 represents completely forward-peaked scattering, indicating a strong preference for photons to be scattered in the forward direction.&lt;br /&gt;
&lt;br /&gt;
=== Equivalent Model of Fluorophore Solution ===&lt;br /&gt;
When considering the optical response of the epidermis layer for blue light, absorption occurs both directly in FAD as well as in the rest of the tissue. In MCmatlab, a material can only be defined by a single absorption coefficient and emissivity spectrum. This presents a problem since absorption from surrounding tissue artificially contribute to FAD fluorescence in the model. Unfortunately,  this yields an unacceptable degree of inaccuracy as the overall absorption by the tissue is large compared to the absorption in FAD, due to its low concentration. In other words, the majority of the fluorescence would come from absorption in tissue which normally does not fluoresce. This also makes it hard to model subtle changes in FAD levels due to the strong artificial fluorescence background.&lt;br /&gt;
&lt;br /&gt;
[[File:model.png|500px|thumb|center|The multilayer model for fluorescence Monte Carlo simulation. ]]&lt;br /&gt;
&lt;br /&gt;
To solve this issue, we introduce a multilayer model where FAD molecules distributed in a volume is collected into thin planes spread across the volume (see Figure 1). By separating FAD from the rest of the tissue components, we can define two separate media in MCmatlab with their respective optical properties, avoiding the issue of artificial fluorescence. However, changing the geometry in this way will also affect the optical response. Below, we derive an expression to correct for the geometrical change. &lt;br /&gt;
&lt;br /&gt;
The total optical absorption can be described as:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \propto \int dV (-J)\cdot E = \int dV (-i\omega\varepsilon_0 \chi |E|^2) = \int dV \omega\varepsilon_0 \chi&#039;&#039; |E|^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;J&amp;lt;/math&amp;gt; is the current density, &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; is the electric field, &amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; is the angular frequency of light, &amp;lt;math&amp;gt; \varepsilon_0&amp;lt;/math&amp;gt;  is the free space electric permittivity, &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  is the material susceptibility, and &amp;lt;math&amp;gt;\chi&#039;&#039;&amp;lt;/math&amp;gt; is the imaginary part of &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  representing the optical absorption of a certain material. Under the representation of Beer-Lambert law, the electric field penetrating in the skin can be described as an exponential decay: &amp;lt;math&amp;gt; E = E_0 \exp(-\mu_\alpha z) &amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; is the material absorpsivity in the unit of [cm]&amp;lt;math&amp;gt;^{-1}&amp;lt;/math&amp;gt;. Substituting the exponentially decaying electric field into the absorption expression and applying our one-dimensional multilayer geometry: &lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \cong A \int_{0}^{L_z} dz \exp(-2\mu_\alpha z) = A\frac{1-\exp(-2\mu_\alpha L_z)}{2\mu_\alpha} &amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;L_z&amp;lt;/math&amp;gt; is the total length in z direction. To have the same amount of absorption in the fluorophore when using the multilayer model, we need to equivalently adjust the optical property &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; of the material to balance the effect of shrinking the volume occupied by the fluorophore. Gathering the fluorophore into a thin slab centered at &amp;lt;math&amp;gt;L_z/2&amp;lt;/math&amp;gt;, the absorption here is:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt;  \cong A \int_{L_z/2-\Delta{z}/2}^{L_z/2+\Delta{z}/2} dz \exp(-2\mu_\alpha&#039; z)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; = A\frac{\exp(-\mu_\alpha&#039;L_z)(\exp(\mu_\alpha&#039;\Delta{z})-\exp(-\mu_\alpha&#039;\Delta{z}))}{2\mu_\alpha&#039;}\cong A\exp(-\mu_\alpha&#039;L_z)\Delta{z}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Equaling the absorption and assuming the absorpsivity of FAD is small (&amp;lt;math&amp;gt;\mu_\alpha L_z\ll1&amp;lt;/math&amp;gt;), one can extract an approximate expression for the equivalent absorpsivity:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;    \mu_\alpha&#039; = \frac{1}{L_z}\log(\frac{L_z}{\Delta{z}}). &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using the equivalent absorpsivity correction, the total absorption is the same. In addition, the blue photon absorbed by FAD will result in the fluorescence emission, such that the correct FAD fluorescence activity can be simulated.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Beer-Lambert: Absorbance A is given by &lt;br /&gt;
&amp;lt;math&amp;gt; A= \mu_acl &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for this to be constant in both geometries, we get the relationship:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \mu_{a}cl=\mu_{a}&#039;c&#039;l&#039; &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Thus, &amp;lt;math&amp;gt; \mu_{a}&#039;c&#039;=\mu_{a}c \frac{L_z}{\Delta z} &amp;lt;/math&amp;gt;. This means that we can either change the concentration of the absorption coefficient to compensate for the reduced volume.&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
&lt;br /&gt;
The properties of the dysplastic region directly determines the fluorescence signal. Here, the properties refer to the geometry size, shape, the fluorophore concentration, and the location inside the skin tissue. Below, we will carry out a few computational and numerical experiments to qualitatively describe the dependence between the fluorescence signal strength and these factors. The simulation is conducted based on MCMatlab Fluorescence Monte Carlo simulation package. &lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Width ===&lt;br /&gt;
[[File:results1_updated.png|900px|thumb|center| (a) Schematic of the geometry, which is defined as a one-dimensional variation in FAD concentration with a low concentration at the central part representing the dysplastic region. (b) The actual fluorescence signal measured as a function of x position. The contrast signal is extracted as the ratio between the magnitude of the dip and the maximum signal level. (c) The dependence betweewn the width of the dysplastic region and the fluorescence contrast signal. (d) The measured fluorescence signal for each width value with an increasing width from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
For the first study, the simulated geometry is defined as a one-dimensional concentration variation in &amp;quot;x&amp;quot; as shown in the figure above with a lower FAD concentration at the central region representing the dysplastic region. The width of the dysplastic region is swept and the output fluorescence contrast signal is measured. It is shown that the contrast signal first goes up, then saturates at w~0.35 mm. At small width values, the signals are mixed up from the two edges where the concentration changes sharply, so that one cannot resolve the full contrast signal. When the two edges are separated sufficiently far, the full signal can be resolved, giving a relative fluorescence contrast as 0.3.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Depth ===&lt;br /&gt;
Next, the qualitative relation is studied between the depth of the dysplastic region inside the skin and the fluorescence contrast signal. In this case, the geometry is defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm and the thickness to 0.1 mm. The depth is set as the swept parameter, and it is defined as the distance between the top surface of the epidermis layer and the top surface of the rectangular wire. &lt;br /&gt;
&lt;br /&gt;
[[File:results2_updated.png|600px|thumb|center| (a) Schematic of the geometry, where the FAD concentration inside the rectangular rod is lower, representing the dysplastic region. The depth of the rectangular wire is swept. (b) The dependence betweewn the depth of the dysplastic region and the fluorescence contrast signal. The red dashed line illustrates an exponential fitting of the simulation results. (c) The measured fluorescence signal for each depth value with an increasing depth from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that the fluorescence contrast signal decreases as the depth increases, which agrees with intuition. As for a deeper location inside the skin, it takes farther distance for the fluorescent light to travel out, therefore the distortion introduced by the scattering events as the light propagates through the skin tissue is stronger. In addition, the attenuation from both scattering and absorption is stronger as well, which further reduces the SNR. For depth greater than 0.1 mm, the contrast signal strength is nearly vanishing.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the FAD Concentration Difference ===&lt;br /&gt;
Similarly, the strength of the contrast signal should also be a function of the concentration difference of FAD between the dysplastic and the healthy tissue. The geometry is again defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm, the thickness to 0.1 mm, and the depth is set to 0.04 mm. The volumetric concentration of FAD in the healthy region is fixed to 0.2 while the FAD concentration in the dysplastic region is varied from 0 to 0.2. &lt;br /&gt;
&lt;br /&gt;
[[File:results32_updated.png|900px|thumb|center| (a,c) Schematic of the geometry, (a) has a shallower dysplastic region while it is deeper in (c). The FAD concentration inside the rectangular rod is swept. (b,d) The dependence betweewn the concentration difference and the fluorescence contrast signal. (c) The measured fluorescence signal for each concentration value with a decreasing concentration contrast from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that for 0.04 mm as the depth, the fluorescence contrast signal is linearly proportional to the FAD concentration difference, which again agrees with intuition. The concentration difference determines the distribution in the number of fluorescence emitter, which is equivalent to the source and directly proportional to the fluorescence intensity. When increasing the depth of the rectangular wire to 0.1 mm, again the linear dependence is shown however with an overall lower amplitude, representing the decrease in the number of fluorescence emitter.&lt;br /&gt;
&lt;br /&gt;
=== Image Quality and Simulation Limitations  ===&lt;br /&gt;
Optical Monte Carlo simulations, while powerful and versatile, are computationally demanding due to the nature of light propagation and the need to model a vast number of photon trajectories. The computational expense arises from the necessity to track individual photon interactions and their probabilistic behavior as they scatter, absorb, and move through the medium.  Modeling three-dimensional environments adds complexity, as simulations must account for photon movements in all spatial directions within the medium. To illustrate this, a regular high performance laptop were able to simulate about 10&amp;lt;math&amp;gt;^6&amp;lt;/math&amp;gt; photons per minute, while a 1mW light source at 400 nm emits 10&amp;lt;math&amp;gt;^{15}&amp;lt;/math&amp;gt; photons per second. This can be a problem when trying to model realistic scenarios with low signal to noise. Figure 5 shows a set of images of an embedded dysplastic lesion in healthy tissue, with varying number of simulated photons. &lt;br /&gt;
&lt;br /&gt;
[[File:images_SImTime.png|900px|thumb|center| Image quality as a function of simulation number of photons simulated. Top) Collected images of an embedded dysplastic lesion inside healthy tissue. Bottom) Cross section of the image intensity.  ]]&lt;br /&gt;
&lt;br /&gt;
== Conclusions ==&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
You can write math equations as follows:&lt;br /&gt;
&amp;lt;math&amp;gt;y = x^2 + 5 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can include images as follows (you will need to upload the image first using the toolbox on the left bar, using the &amp;quot;Upload file&amp;quot; link).&lt;br /&gt;
&lt;br /&gt;
[[File:Snip 20210106183207.png|200px]]&lt;/div&gt;</summary>
		<author><name>Bohan</name></author>
	</entry>
	<entry>
		<id>http://vista.su.domains/psych221wiki/index.php?title=File:Optical.png&amp;diff=33983</id>
		<title>File:Optical.png</title>
		<link rel="alternate" type="text/html" href="http://vista.su.domains/psych221wiki/index.php?title=File:Optical.png&amp;diff=33983"/>
		<updated>2023-12-18T17:05:43Z</updated>

		<summary type="html">&lt;p&gt;Bohan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Bohan</name></author>
	</entry>
	<entry>
		<id>http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=33978</id>
		<title>Medical imaging: Simulations of reflectance and fluorescence of human tissue</title>
		<link rel="alternate" type="text/html" href="http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=33978"/>
		<updated>2023-12-18T16:18:57Z</updated>

		<summary type="html">&lt;p&gt;Bohan: /* Image Quality and Simulation Limitations */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
Squamous dysplasia, a precursor to squamous cell carcinoma, represents a spectrum of histological alterations within the epithelium, characterized by abnormal cellular morphology and metabolism. Early identification is critical to prevent the progression to invasive carcinoma. Auto fluorescent imaging (AFI) has emerged as a promising non-invasive technique for the detection of squamous dysplasia. Flavin adenine dinucleotide (FAD), an essential co-factor in cellular oxidative metabolism, undergoes changes in concentration and redox state during dysplastic transformations. Studies indicate a correlation between dysplastic progression and altered FAD levels, leading to variations in tissue fluorescence. Lower FAD concentrations in dysplastic areas manifest as decreased fluorescence intensity level, which in principle can be imaged with AFI.&lt;br /&gt;
&lt;br /&gt;
AFI uses the intrinsic fluorescent properties of endogenous molecules within tissues. Under appropriate excitation wavelengths, endogenous fluorophores emit light, providing real-time visualization of tissue morphology. The altered metabolic activity and subsequent changes in FAD concentrations in dysplastic tissues offer a distinct fluorescence pattern that is in principle discernible through AFI.&lt;br /&gt;
&lt;br /&gt;
In clinical settings, AFI demonstrates promise as a non-invasive tool for identifying early dysplastic lesions. Its ability to highlight subtle changes in tissue autofluorescence can aid in targeted biopsies and delineation of margins during surgical interventions. In this project, we explore imaging of dysplastic tissues by using optical Monte Carlo based fluorescence simulations. We identify qualitative trends of image quality with respect to dysplastic lesion size, depth, and fluorophore concentration change. Understanding how photons interact with fluorophores, the probability of excitation, and the emitted fluorescence intensity can assist in predicting and interpreting experimental fluorescence measurements.&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
=== Optical Processes in Skin Tissue ===&lt;br /&gt;
When shining light into the skin, there are multiple light-matter interaction processes happening simultaneously, including reflection, absorption, scattering, and fluorescence as depicted in the figure below. &lt;br /&gt;
&lt;br /&gt;
The key process in this study is fluorescence. When short wavelength photon is absorbed, the material will re-emit photon at a longer wavelength and smaller energy. In the epidermis layer of the skin tissue, there are two fluorescence molecules, FAD and NADH, which are related to metabolic activities of cells. By measuring the fluorescence activities, one can monitor the localized concentration of FAD and NADH in the epidermis layer, therefore acquiring early signs on potnetial dysplasia. To model the fluorescence activities in the epidermis layer, the fluorophore is assumed to be uniformly distributed in the epidermis layer as a solution while the dysplastic region can be regarded as some localized volume with a different concentration comparing to the surrounding medium. &lt;br /&gt;
&lt;br /&gt;
Reflection refers to the back-scatter of photon at the interface between different materials when the index of refraction changes. Since the main composition of human skin is water, the variation of index of refraction is minor therefore there is negligible amount of reflection inside human skin. The strongest reflection happens at the surface of skin where photon hits the skin tissue from air. This can result in a spectral reduction of the number of photons actually entering into the skin, which results in a reduction in the actual fluorescence signal strength. &lt;br /&gt;
&lt;br /&gt;
Absorption is an intrinsic property of light-matter interaction where the amplitude of electromagnetic field attenuates as propagating. The absorption in a solution can be quatitatively described using the Beer-Lambert law, where the intensity of light decay exponentially as it travels in the absorptive medium. The decay rate is characterized by the absorption coefficient &amp;lt;math&amp;gt; \mu_\alpha &amp;lt;/math&amp;gt; which is a function of the solvend absorpsivity and its concentration. In human skin tissue, the total amount of absorption can be decomposed into several different components, including absorption from water, fat, melanin, and blood content, which can be cast by an empirical equation [REF]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; mu_{\alpha} =BS\mu_{\alpha,oxy} + B (1-S) \mu_{\alpha,deoxy} + W\mu_{\alpha,water} + F\mu_{\alpha,fat} + M\mu_{\alpha,melanosome} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The scattering process refers to the change in the direction of motion when the photon interacts with the material (mainly the nuclei). In the actual scenario of fluorescence detection, the scattering process can result in two consequences including the attenuation of number of photons in the forward propagating direction, and introducing distortion to the localized signal. The second consequence is the critical factor of reducing the signal to noise ratio, as the localized signal from the dysplasia is smeared by the uncertain scattering processes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Methods ==&lt;br /&gt;
&lt;br /&gt;
=== Monte Carlo Simulation ===&lt;br /&gt;
&lt;br /&gt;
Monte Carlo simulations is a useful tool for modeling and understanding the intricate behaviors of light propagation through tissues. These simulations rely on probabilistic algorithms that simulate numerous random trajectories of photons within a medium, enabling the prediction and analysis of light transport in complex systems. These trajectories are based on scattering events and the optical properties of the medium. As photons travel, they undergo interactions, either scattering off structures within the tissue or getting absorbed. The simulations track the path lengths and angles of these photons, ultimately predicting the reflectance and absorption profiles. &lt;br /&gt;
&lt;br /&gt;
To simulate fluorescence, an initial simulation models the absorption of incident photons by fluorescent molecules like FAD or other fluorophores. The resulting absorption profile is then used as a source for fluorescent light of a different wavelength and the Monte Carlo algorithm is applied again.&lt;br /&gt;
&lt;br /&gt;
=== MCMatlab ===&lt;br /&gt;
&lt;br /&gt;
We decided to use MCmatlab based on a class project from last year, where it was implemented to simulate diffuse reflectance of different oxygenation levels for various skin types. &lt;br /&gt;
&lt;br /&gt;
In MCMatlab a medium is defined by specifying a set of parameters. The relevant parameters in our simulation are: Absorption coefficient ‘&amp;lt;math&amp;gt;\mu_a&amp;lt;/math&amp;gt;’, Scattering coefficient ‘&amp;lt;math&amp;gt;\mu_s&amp;lt;/math&amp;gt;’, Emission spectrum ‘&amp;lt;math&amp;gt;\epsilon_{\lambda}&amp;lt;/math&amp;gt;’, Quantum yield &#039;QY&#039;, Henyey-Greenstein Scattering anisotropy factor ‘g’ and Refractive Index ‘n’.&lt;br /&gt;
&lt;br /&gt;
All quantities are a function of wavelength. The absorption coefficient is given in units of cm&amp;lt;math&amp;gt;^{-1}&amp;lt;/math&amp;gt;. The scattering coefficient is expressed as the fraction of photons getting scattered while traveling in a medium per unit distance. The emission spectrum describes the relative spectral power emitted for each wavelength. The quantum yield is defined as the number of photons emitted per absorbed photons. Henyey-Greenstein Scattering anisotropy factor has a value between 0 and 1 and  quantifies the degree of angular distribution in the scattering of photons within a medium. More concretely, g = 0 signifies purely isotropic scattering, indicating an equal probability of scattering in all directions while g = 1 represents completely forward-peaked scattering, indicating a strong preference for photons to be scattered in the forward direction.&lt;br /&gt;
&lt;br /&gt;
=== Equivalent Model of Fluorophore Solution ===&lt;br /&gt;
When considering the optical response of the epidermis layer for blue light, absorption occurs both directly in FAD as well as in the rest of the tissue. In MCmatlab, a material can only be defined by a single absorption coefficient and emissivity spectrum. This presents a problem since absorption from surrounding tissue artificially contribute to FAD fluorescence in the model. Unfortunately,  this yields an unacceptable degree of inaccuracy as the overall absorption by the tissue is large compared to the absorption in FAD, due to its low concentration. In other words, the majority of the fluorescence would come from absorption in tissue which normally does not fluoresce. This also makes it hard to model subtle changes in FAD levels due to the strong artificial fluorescence background.&lt;br /&gt;
&lt;br /&gt;
[[File:model.png|500px|thumb|center|The multilayer model for fluorescence Monte Carlo simulation. ]]&lt;br /&gt;
&lt;br /&gt;
To solve this issue, we introduce a multilayer model where FAD molecules distributed in a volume is collected into thin planes spread across the volume (see Figure 1). By separating FAD from the rest of the tissue components, we can define two separate media in MCmatlab with their respective optical properties, avoiding the issue of artificial fluorescence. However, changing the geometry in this way will also affect the optical response. Below, we derive an expression to correct for the geometrical change. &lt;br /&gt;
&lt;br /&gt;
The total optical absorption can be described as:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \propto \int dV (-J)\cdot E = \int dV (-i\omega\varepsilon_0 \chi |E|^2) = \int dV \omega\varepsilon_0 \chi&#039;&#039; |E|^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;J&amp;lt;/math&amp;gt; is the current density, &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; is the electric field, &amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; is the angular frequency of light, &amp;lt;math&amp;gt; \varepsilon_0&amp;lt;/math&amp;gt;  is the free space electric permittivity, &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  is the material susceptibility, and &amp;lt;math&amp;gt;\chi&#039;&#039;&amp;lt;/math&amp;gt; is the imaginary part of &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  representing the optical absorption of a certain material. Under the representation of Beer-Lambert law, the electric field penetrating in the skin can be described as an exponential decay: &amp;lt;math&amp;gt; E = E_0 \exp(-\mu_\alpha z) &amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; is the material absorpsivity in the unit of [cm]&amp;lt;math&amp;gt;^{-1}&amp;lt;/math&amp;gt;. Substituting the exponentially decaying electric field into the absorption expression and applying our one-dimensional multilayer geometry: &lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \cong A \int_{0}^{L_z} dz \exp(-2\mu_\alpha z) = A\frac{1-\exp(-2\mu_\alpha L_z)}{2\mu_\alpha} &amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;L_z&amp;lt;/math&amp;gt; is the total length in z direction. To have the same amount of absorption in the fluorophore when using the multilayer model, we need to equivalently adjust the optical property &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; of the material to balance the effect of shrinking the volume occupied by the fluorophore. Gathering the fluorophore into a thin slab centered at &amp;lt;math&amp;gt;L_z/2&amp;lt;/math&amp;gt;, the absorption here is:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt;  \cong A \int_{L_z/2-\Delta{z}/2}^{L_z/2+\Delta{z}/2} dz \exp(-2\mu_\alpha&#039; z)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; = A\frac{\exp(-\mu_\alpha&#039;L_z)(\exp(\mu_\alpha&#039;\Delta{z})-\exp(-\mu_\alpha&#039;\Delta{z}))}{2\mu_\alpha&#039;}\cong A\exp(-\mu_\alpha&#039;L_z)\Delta{z}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Equaling the absorption and assuming the absorpsivity of FAD is small (&amp;lt;math&amp;gt;\mu_\alpha L_z\ll1&amp;lt;/math&amp;gt;), one can extract an approximate expression for the equivalent absorpsivity:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;    \mu_\alpha&#039; = \frac{1}{L_z}\log(\frac{L_z}{\Delta{z}}). &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using the equivalent absorpsivity correction, the total absorption is the same. In addition, the blue photon absorbed by FAD will result in the fluorescence emission, such that the correct FAD fluorescence activity can be simulated.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Beer-Lambert: Absorbance A is given by &lt;br /&gt;
&amp;lt;math&amp;gt; A= \mu_acl &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for this to be constant in both geometries, we get the relationship:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \mu_{a}cl=\mu_{a}&#039;c&#039;l&#039; &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Thus, &amp;lt;math&amp;gt; \mu_{a}&#039;c&#039;=\mu_{a}c \frac{L_z}{\Delta z} &amp;lt;/math&amp;gt;. This means that we can either change the concentration of the absorption coefficient to compensate for the reduced volume.&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
&lt;br /&gt;
The properties of the dysplastic region directly determines the fluorescence signal. Here, the properties refer to the geometry size, shape, the fluorophore concentration, and the location inside the skin tissue. Below, we will carry out a few computational and numerical experiments to qualitatively describe the dependence between the fluorescence signal strength and these factors. The simulation is conducted based on MCMatlab Fluorescence Monte Carlo simulation package. &lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Width ===&lt;br /&gt;
[[File:results1_updated.png|900px|thumb|center| (a) Schematic of the geometry, which is defined as a one-dimensional variation in FAD concentration with a low concentration at the central part representing the dysplastic region. (b) The actual fluorescence signal measured as a function of x position. The contrast signal is extracted as the ratio between the magnitude of the dip and the maximum signal level. (c) The dependence betweewn the width of the dysplastic region and the fluorescence contrast signal. (d) The measured fluorescence signal for each width value with an increasing width from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
For the first study, the simulated geometry is defined as a one-dimensional concentration variation in &amp;quot;x&amp;quot; as shown in the figure above with a lower FAD concentration at the central region representing the dysplastic region. The width of the dysplastic region is swept and the output fluorescence contrast signal is measured. It is shown that the contrast signal first goes up, then saturates at w~0.35 mm. At small width values, the signals are mixed up from the two edges where the concentration changes sharply, so that one cannot resolve the full contrast signal. When the two edges are separated sufficiently far, the full signal can be resolved, giving a relative fluorescence contrast as 0.3.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Depth ===&lt;br /&gt;
Next, the qualitative relation is studied between the depth of the dysplastic region inside the skin and the fluorescence contrast signal. In this case, the geometry is defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm and the thickness to 0.1 mm. The depth is set as the swept parameter, and it is defined as the distance between the top surface of the epidermis layer and the top surface of the rectangular wire. &lt;br /&gt;
&lt;br /&gt;
[[File:results2_updated.png|600px|thumb|center| (a) Schematic of the geometry, where the FAD concentration inside the rectangular rod is lower, representing the dysplastic region. The depth of the rectangular wire is swept. (b) The dependence betweewn the depth of the dysplastic region and the fluorescence contrast signal. The red dashed line illustrates an exponential fitting of the simulation results. (c) The measured fluorescence signal for each depth value with an increasing depth from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that the fluorescence contrast signal decreases as the depth increases, which agrees with intuition. As for a deeper location inside the skin, it takes farther distance for the fluorescent light to travel out, therefore the distortion introduced by the scattering events as the light propagates through the skin tissue is stronger. In addition, the attenuation from both scattering and absorption is stronger as well, which further reduces the SNR. For depth greater than 0.1 mm, the contrast signal strength is nearly vanishing.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the FAD Concentration Difference ===&lt;br /&gt;
Similarly, the strength of the contrast signal should also be a function of the concentration difference of FAD between the dysplastic and the healthy tissue. The geometry is again defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm, the thickness to 0.1 mm, and the depth is set to 0.04 mm. The volumetric concentration of FAD in the healthy region is fixed to 0.2 while the FAD concentration in the dysplastic region is varied from 0 to 0.2. &lt;br /&gt;
&lt;br /&gt;
[[File:results32_updated.png|900px|thumb|center| (a,c) Schematic of the geometry, (a) has a shallower dysplastic region while it is deeper in (c). The FAD concentration inside the rectangular rod is swept. (b,d) The dependence betweewn the concentration difference and the fluorescence contrast signal. (c) The measured fluorescence signal for each concentration value with a decreasing concentration contrast from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that for 0.04 mm as the depth, the fluorescence contrast signal is linearly proportional to the FAD concentration difference, which again agrees with intuition. The concentration difference determines the distribution in the number of fluorescence emitter, which is equivalent to the source and directly proportional to the fluorescence intensity. When increasing the depth of the rectangular wire to 0.1 mm, again the linear dependence is shown however with an overall lower amplitude, representing the decrease in the number of fluorescence emitter.&lt;br /&gt;
&lt;br /&gt;
=== Image Quality and Simulation Limitations  ===&lt;br /&gt;
Optical Monte Carlo simulations, while powerful and versatile, are computationally demanding due to the nature of light propagation and the need to model a vast number of photon trajectories. The computational expense arises from the necessity to track individual photon interactions and their probabilistic behavior as they scatter, absorb, and move through the medium.  Modeling three-dimensional environments adds complexity, as simulations must account for photon movements in all spatial directions within the medium. To illustrate this, a regular high performance laptop were able to simulate about 10&amp;lt;math&amp;gt;^6&amp;lt;/math&amp;gt; photons per minute, while a 1mW light source at 400 nm emits 10&amp;lt;math&amp;gt;^{15}&amp;lt;/math&amp;gt; photons per second. This can be a problem when trying to model realistic scenarios with low signal to noise. Figure 5 shows a set of images of an embedded dysplastic lesion in healthy tissue, with varying number of simulated photons. &lt;br /&gt;
&lt;br /&gt;
[[File:images_SImTime.png|900px|thumb|center| Image quality as a function of simulation number of photons simulated. Top) Collected images of an embedded dysplastic lesion inside healthy tissue. Bottom) Cross section of the image intensity.  ]]&lt;br /&gt;
&lt;br /&gt;
== Conclusions ==&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
You can write math equations as follows:&lt;br /&gt;
&amp;lt;math&amp;gt;y = x^2 + 5 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can include images as follows (you will need to upload the image first using the toolbox on the left bar, using the &amp;quot;Upload file&amp;quot; link).&lt;br /&gt;
&lt;br /&gt;
[[File:Snip 20210106183207.png|200px]]&lt;/div&gt;</summary>
		<author><name>Bohan</name></author>
	</entry>
	<entry>
		<id>http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=33977</id>
		<title>Medical imaging: Simulations of reflectance and fluorescence of human tissue</title>
		<link rel="alternate" type="text/html" href="http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=33977"/>
		<updated>2023-12-18T16:18:34Z</updated>

		<summary type="html">&lt;p&gt;Bohan: /* Qualitative Dependence on the FAD Concentration Difference */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
Squamous dysplasia, a precursor to squamous cell carcinoma, represents a spectrum of histological alterations within the epithelium, characterized by abnormal cellular morphology and metabolism. Early identification is critical to prevent the progression to invasive carcinoma. Auto fluorescent imaging (AFI) has emerged as a promising non-invasive technique for the detection of squamous dysplasia. Flavin adenine dinucleotide (FAD), an essential co-factor in cellular oxidative metabolism, undergoes changes in concentration and redox state during dysplastic transformations. Studies indicate a correlation between dysplastic progression and altered FAD levels, leading to variations in tissue fluorescence. Lower FAD concentrations in dysplastic areas manifest as decreased fluorescence intensity level, which in principle can be imaged with AFI.&lt;br /&gt;
&lt;br /&gt;
AFI uses the intrinsic fluorescent properties of endogenous molecules within tissues. Under appropriate excitation wavelengths, endogenous fluorophores emit light, providing real-time visualization of tissue morphology. The altered metabolic activity and subsequent changes in FAD concentrations in dysplastic tissues offer a distinct fluorescence pattern that is in principle discernible through AFI.&lt;br /&gt;
&lt;br /&gt;
In clinical settings, AFI demonstrates promise as a non-invasive tool for identifying early dysplastic lesions. Its ability to highlight subtle changes in tissue autofluorescence can aid in targeted biopsies and delineation of margins during surgical interventions. In this project, we explore imaging of dysplastic tissues by using optical Monte Carlo based fluorescence simulations. We identify qualitative trends of image quality with respect to dysplastic lesion size, depth, and fluorophore concentration change. Understanding how photons interact with fluorophores, the probability of excitation, and the emitted fluorescence intensity can assist in predicting and interpreting experimental fluorescence measurements.&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
=== Optical Processes in Skin Tissue ===&lt;br /&gt;
When shining light into the skin, there are multiple light-matter interaction processes happening simultaneously, including reflection, absorption, scattering, and fluorescence as depicted in the figure below. &lt;br /&gt;
&lt;br /&gt;
The key process in this study is fluorescence. When short wavelength photon is absorbed, the material will re-emit photon at a longer wavelength and smaller energy. In the epidermis layer of the skin tissue, there are two fluorescence molecules, FAD and NADH, which are related to metabolic activities of cells. By measuring the fluorescence activities, one can monitor the localized concentration of FAD and NADH in the epidermis layer, therefore acquiring early signs on potnetial dysplasia. To model the fluorescence activities in the epidermis layer, the fluorophore is assumed to be uniformly distributed in the epidermis layer as a solution while the dysplastic region can be regarded as some localized volume with a different concentration comparing to the surrounding medium. &lt;br /&gt;
&lt;br /&gt;
Reflection refers to the back-scatter of photon at the interface between different materials when the index of refraction changes. Since the main composition of human skin is water, the variation of index of refraction is minor therefore there is negligible amount of reflection inside human skin. The strongest reflection happens at the surface of skin where photon hits the skin tissue from air. This can result in a spectral reduction of the number of photons actually entering into the skin, which results in a reduction in the actual fluorescence signal strength. &lt;br /&gt;
&lt;br /&gt;
Absorption is an intrinsic property of light-matter interaction where the amplitude of electromagnetic field attenuates as propagating. The absorption in a solution can be quatitatively described using the Beer-Lambert law, where the intensity of light decay exponentially as it travels in the absorptive medium. The decay rate is characterized by the absorption coefficient &amp;lt;math&amp;gt; \mu_\alpha &amp;lt;/math&amp;gt; which is a function of the solvend absorpsivity and its concentration. In human skin tissue, the total amount of absorption can be decomposed into several different components, including absorption from water, fat, melanin, and blood content, which can be cast by an empirical equation [REF]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; mu_{\alpha} =BS\mu_{\alpha,oxy} + B (1-S) \mu_{\alpha,deoxy} + W\mu_{\alpha,water} + F\mu_{\alpha,fat} + M\mu_{\alpha,melanosome} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The scattering process refers to the change in the direction of motion when the photon interacts with the material (mainly the nuclei). In the actual scenario of fluorescence detection, the scattering process can result in two consequences including the attenuation of number of photons in the forward propagating direction, and introducing distortion to the localized signal. The second consequence is the critical factor of reducing the signal to noise ratio, as the localized signal from the dysplasia is smeared by the uncertain scattering processes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Methods ==&lt;br /&gt;
&lt;br /&gt;
=== Monte Carlo Simulation ===&lt;br /&gt;
&lt;br /&gt;
Monte Carlo simulations is a useful tool for modeling and understanding the intricate behaviors of light propagation through tissues. These simulations rely on probabilistic algorithms that simulate numerous random trajectories of photons within a medium, enabling the prediction and analysis of light transport in complex systems. These trajectories are based on scattering events and the optical properties of the medium. As photons travel, they undergo interactions, either scattering off structures within the tissue or getting absorbed. The simulations track the path lengths and angles of these photons, ultimately predicting the reflectance and absorption profiles. &lt;br /&gt;
&lt;br /&gt;
To simulate fluorescence, an initial simulation models the absorption of incident photons by fluorescent molecules like FAD or other fluorophores. The resulting absorption profile is then used as a source for fluorescent light of a different wavelength and the Monte Carlo algorithm is applied again.&lt;br /&gt;
&lt;br /&gt;
=== MCMatlab ===&lt;br /&gt;
&lt;br /&gt;
We decided to use MCmatlab based on a class project from last year, where it was implemented to simulate diffuse reflectance of different oxygenation levels for various skin types. &lt;br /&gt;
&lt;br /&gt;
In MCMatlab a medium is defined by specifying a set of parameters. The relevant parameters in our simulation are: Absorption coefficient ‘&amp;lt;math&amp;gt;\mu_a&amp;lt;/math&amp;gt;’, Scattering coefficient ‘&amp;lt;math&amp;gt;\mu_s&amp;lt;/math&amp;gt;’, Emission spectrum ‘&amp;lt;math&amp;gt;\epsilon_{\lambda}&amp;lt;/math&amp;gt;’, Quantum yield &#039;QY&#039;, Henyey-Greenstein Scattering anisotropy factor ‘g’ and Refractive Index ‘n’.&lt;br /&gt;
&lt;br /&gt;
All quantities are a function of wavelength. The absorption coefficient is given in units of cm&amp;lt;math&amp;gt;^{-1}&amp;lt;/math&amp;gt;. The scattering coefficient is expressed as the fraction of photons getting scattered while traveling in a medium per unit distance. The emission spectrum describes the relative spectral power emitted for each wavelength. The quantum yield is defined as the number of photons emitted per absorbed photons. Henyey-Greenstein Scattering anisotropy factor has a value between 0 and 1 and  quantifies the degree of angular distribution in the scattering of photons within a medium. More concretely, g = 0 signifies purely isotropic scattering, indicating an equal probability of scattering in all directions while g = 1 represents completely forward-peaked scattering, indicating a strong preference for photons to be scattered in the forward direction.&lt;br /&gt;
&lt;br /&gt;
=== Equivalent Model of Fluorophore Solution ===&lt;br /&gt;
When considering the optical response of the epidermis layer for blue light, absorption occurs both directly in FAD as well as in the rest of the tissue. In MCmatlab, a material can only be defined by a single absorption coefficient and emissivity spectrum. This presents a problem since absorption from surrounding tissue artificially contribute to FAD fluorescence in the model. Unfortunately,  this yields an unacceptable degree of inaccuracy as the overall absorption by the tissue is large compared to the absorption in FAD, due to its low concentration. In other words, the majority of the fluorescence would come from absorption in tissue which normally does not fluoresce. This also makes it hard to model subtle changes in FAD levels due to the strong artificial fluorescence background.&lt;br /&gt;
&lt;br /&gt;
[[File:model.png|500px|thumb|center|The multilayer model for fluorescence Monte Carlo simulation. ]]&lt;br /&gt;
&lt;br /&gt;
To solve this issue, we introduce a multilayer model where FAD molecules distributed in a volume is collected into thin planes spread across the volume (see Figure 1). By separating FAD from the rest of the tissue components, we can define two separate media in MCmatlab with their respective optical properties, avoiding the issue of artificial fluorescence. However, changing the geometry in this way will also affect the optical response. Below, we derive an expression to correct for the geometrical change. &lt;br /&gt;
&lt;br /&gt;
The total optical absorption can be described as:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \propto \int dV (-J)\cdot E = \int dV (-i\omega\varepsilon_0 \chi |E|^2) = \int dV \omega\varepsilon_0 \chi&#039;&#039; |E|^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;J&amp;lt;/math&amp;gt; is the current density, &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; is the electric field, &amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; is the angular frequency of light, &amp;lt;math&amp;gt; \varepsilon_0&amp;lt;/math&amp;gt;  is the free space electric permittivity, &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  is the material susceptibility, and &amp;lt;math&amp;gt;\chi&#039;&#039;&amp;lt;/math&amp;gt; is the imaginary part of &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  representing the optical absorption of a certain material. Under the representation of Beer-Lambert law, the electric field penetrating in the skin can be described as an exponential decay: &amp;lt;math&amp;gt; E = E_0 \exp(-\mu_\alpha z) &amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; is the material absorpsivity in the unit of [cm]&amp;lt;math&amp;gt;^{-1}&amp;lt;/math&amp;gt;. Substituting the exponentially decaying electric field into the absorption expression and applying our one-dimensional multilayer geometry: &lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \cong A \int_{0}^{L_z} dz \exp(-2\mu_\alpha z) = A\frac{1-\exp(-2\mu_\alpha L_z)}{2\mu_\alpha} &amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;L_z&amp;lt;/math&amp;gt; is the total length in z direction. To have the same amount of absorption in the fluorophore when using the multilayer model, we need to equivalently adjust the optical property &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; of the material to balance the effect of shrinking the volume occupied by the fluorophore. Gathering the fluorophore into a thin slab centered at &amp;lt;math&amp;gt;L_z/2&amp;lt;/math&amp;gt;, the absorption here is:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt;  \cong A \int_{L_z/2-\Delta{z}/2}^{L_z/2+\Delta{z}/2} dz \exp(-2\mu_\alpha&#039; z)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; = A\frac{\exp(-\mu_\alpha&#039;L_z)(\exp(\mu_\alpha&#039;\Delta{z})-\exp(-\mu_\alpha&#039;\Delta{z}))}{2\mu_\alpha&#039;}\cong A\exp(-\mu_\alpha&#039;L_z)\Delta{z}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Equaling the absorption and assuming the absorpsivity of FAD is small (&amp;lt;math&amp;gt;\mu_\alpha L_z\ll1&amp;lt;/math&amp;gt;), one can extract an approximate expression for the equivalent absorpsivity:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;    \mu_\alpha&#039; = \frac{1}{L_z}\log(\frac{L_z}{\Delta{z}}). &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using the equivalent absorpsivity correction, the total absorption is the same. In addition, the blue photon absorbed by FAD will result in the fluorescence emission, such that the correct FAD fluorescence activity can be simulated.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Beer-Lambert: Absorbance A is given by &lt;br /&gt;
&amp;lt;math&amp;gt; A= \mu_acl &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for this to be constant in both geometries, we get the relationship:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \mu_{a}cl=\mu_{a}&#039;c&#039;l&#039; &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Thus, &amp;lt;math&amp;gt; \mu_{a}&#039;c&#039;=\mu_{a}c \frac{L_z}{\Delta z} &amp;lt;/math&amp;gt;. This means that we can either change the concentration of the absorption coefficient to compensate for the reduced volume.&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
&lt;br /&gt;
The properties of the dysplastic region directly determines the fluorescence signal. Here, the properties refer to the geometry size, shape, the fluorophore concentration, and the location inside the skin tissue. Below, we will carry out a few computational and numerical experiments to qualitatively describe the dependence between the fluorescence signal strength and these factors. The simulation is conducted based on MCMatlab Fluorescence Monte Carlo simulation package. &lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Width ===&lt;br /&gt;
[[File:results1_updated.png|900px|thumb|center| (a) Schematic of the geometry, which is defined as a one-dimensional variation in FAD concentration with a low concentration at the central part representing the dysplastic region. (b) The actual fluorescence signal measured as a function of x position. The contrast signal is extracted as the ratio between the magnitude of the dip and the maximum signal level. (c) The dependence betweewn the width of the dysplastic region and the fluorescence contrast signal. (d) The measured fluorescence signal for each width value with an increasing width from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
For the first study, the simulated geometry is defined as a one-dimensional concentration variation in &amp;quot;x&amp;quot; as shown in the figure above with a lower FAD concentration at the central region representing the dysplastic region. The width of the dysplastic region is swept and the output fluorescence contrast signal is measured. It is shown that the contrast signal first goes up, then saturates at w~0.35 mm. At small width values, the signals are mixed up from the two edges where the concentration changes sharply, so that one cannot resolve the full contrast signal. When the two edges are separated sufficiently far, the full signal can be resolved, giving a relative fluorescence contrast as 0.3.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Depth ===&lt;br /&gt;
Next, the qualitative relation is studied between the depth of the dysplastic region inside the skin and the fluorescence contrast signal. In this case, the geometry is defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm and the thickness to 0.1 mm. The depth is set as the swept parameter, and it is defined as the distance between the top surface of the epidermis layer and the top surface of the rectangular wire. &lt;br /&gt;
&lt;br /&gt;
[[File:results2_updated.png|600px|thumb|center| (a) Schematic of the geometry, where the FAD concentration inside the rectangular rod is lower, representing the dysplastic region. The depth of the rectangular wire is swept. (b) The dependence betweewn the depth of the dysplastic region and the fluorescence contrast signal. The red dashed line illustrates an exponential fitting of the simulation results. (c) The measured fluorescence signal for each depth value with an increasing depth from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that the fluorescence contrast signal decreases as the depth increases, which agrees with intuition. As for a deeper location inside the skin, it takes farther distance for the fluorescent light to travel out, therefore the distortion introduced by the scattering events as the light propagates through the skin tissue is stronger. In addition, the attenuation from both scattering and absorption is stronger as well, which further reduces the SNR. For depth greater than 0.1 mm, the contrast signal strength is nearly vanishing.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the FAD Concentration Difference ===&lt;br /&gt;
Similarly, the strength of the contrast signal should also be a function of the concentration difference of FAD between the dysplastic and the healthy tissue. The geometry is again defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm, the thickness to 0.1 mm, and the depth is set to 0.04 mm. The volumetric concentration of FAD in the healthy region is fixed to 0.2 while the FAD concentration in the dysplastic region is varied from 0 to 0.2. &lt;br /&gt;
&lt;br /&gt;
[[File:results32_updated.png|900px|thumb|center| (a,c) Schematic of the geometry, (a) has a shallower dysplastic region while it is deeper in (c). The FAD concentration inside the rectangular rod is swept. (b,d) The dependence betweewn the concentration difference and the fluorescence contrast signal. (c) The measured fluorescence signal for each concentration value with a decreasing concentration contrast from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that for 0.04 mm as the depth, the fluorescence contrast signal is linearly proportional to the FAD concentration difference, which again agrees with intuition. The concentration difference determines the distribution in the number of fluorescence emitter, which is equivalent to the source and directly proportional to the fluorescence intensity. When increasing the depth of the rectangular wire to 0.1 mm, again the linear dependence is shown however with an overall lower amplitude, representing the decrease in the number of fluorescence emitter.&lt;br /&gt;
&lt;br /&gt;
=== Image Quality and Simulation Limitations  ===&lt;br /&gt;
Optical Monte Carlo simulations, while powerful and versatile, are computationally demanding due to the nature of light propagation and the need to model a vast number of photon trajectories. The computational expense arises from the necessity to track individual photon interactions and their probabilistic behavior as they scatter, absorb, and move through the medium.  Modeling three-dimensional environments adds complexity, as simulations must account for photon movements in all spatial directions within the medium. To illustrate this, a regular high performance laptop were able to simulate about 10&amp;lt;math&amp;gt;^6&amp;lt;/math&amp;gt; photons per minute, while a 1mW light source at 400 nm emits 10&amp;lt;math&amp;gt;^{15}&amp;lt;/math&amp;gt; photons per second. This can be a problem when trying to model realistic scenarios with low signal to noise. Figure 5 shows a set of images of an embedded dysplastic lesion in healthy tissue, with varying number of simulated photons. &lt;br /&gt;
&lt;br /&gt;
[[File:images_SImTime.png|700px|thumb|center| Image quality as a function of simulation number of photons simulated. Top) Collected images of an embedded dysplastic lesion inside healthy tissue. Bottom) Cross section of the image intensity.  ]]&lt;br /&gt;
&lt;br /&gt;
== Conclusions ==&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
You can write math equations as follows:&lt;br /&gt;
&amp;lt;math&amp;gt;y = x^2 + 5 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can include images as follows (you will need to upload the image first using the toolbox on the left bar, using the &amp;quot;Upload file&amp;quot; link).&lt;br /&gt;
&lt;br /&gt;
[[File:Snip 20210106183207.png|200px]]&lt;/div&gt;</summary>
		<author><name>Bohan</name></author>
	</entry>
	<entry>
		<id>http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=33976</id>
		<title>Medical imaging: Simulations of reflectance and fluorescence of human tissue</title>
		<link rel="alternate" type="text/html" href="http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=33976"/>
		<updated>2023-12-18T16:18:13Z</updated>

		<summary type="html">&lt;p&gt;Bohan: /* Qualitative Dependence on the Dysplastic Depth */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
Squamous dysplasia, a precursor to squamous cell carcinoma, represents a spectrum of histological alterations within the epithelium, characterized by abnormal cellular morphology and metabolism. Early identification is critical to prevent the progression to invasive carcinoma. Auto fluorescent imaging (AFI) has emerged as a promising non-invasive technique for the detection of squamous dysplasia. Flavin adenine dinucleotide (FAD), an essential co-factor in cellular oxidative metabolism, undergoes changes in concentration and redox state during dysplastic transformations. Studies indicate a correlation between dysplastic progression and altered FAD levels, leading to variations in tissue fluorescence. Lower FAD concentrations in dysplastic areas manifest as decreased fluorescence intensity level, which in principle can be imaged with AFI.&lt;br /&gt;
&lt;br /&gt;
AFI uses the intrinsic fluorescent properties of endogenous molecules within tissues. Under appropriate excitation wavelengths, endogenous fluorophores emit light, providing real-time visualization of tissue morphology. The altered metabolic activity and subsequent changes in FAD concentrations in dysplastic tissues offer a distinct fluorescence pattern that is in principle discernible through AFI.&lt;br /&gt;
&lt;br /&gt;
In clinical settings, AFI demonstrates promise as a non-invasive tool for identifying early dysplastic lesions. Its ability to highlight subtle changes in tissue autofluorescence can aid in targeted biopsies and delineation of margins during surgical interventions. In this project, we explore imaging of dysplastic tissues by using optical Monte Carlo based fluorescence simulations. We identify qualitative trends of image quality with respect to dysplastic lesion size, depth, and fluorophore concentration change. Understanding how photons interact with fluorophores, the probability of excitation, and the emitted fluorescence intensity can assist in predicting and interpreting experimental fluorescence measurements.&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
=== Optical Processes in Skin Tissue ===&lt;br /&gt;
When shining light into the skin, there are multiple light-matter interaction processes happening simultaneously, including reflection, absorption, scattering, and fluorescence as depicted in the figure below. &lt;br /&gt;
&lt;br /&gt;
The key process in this study is fluorescence. When short wavelength photon is absorbed, the material will re-emit photon at a longer wavelength and smaller energy. In the epidermis layer of the skin tissue, there are two fluorescence molecules, FAD and NADH, which are related to metabolic activities of cells. By measuring the fluorescence activities, one can monitor the localized concentration of FAD and NADH in the epidermis layer, therefore acquiring early signs on potnetial dysplasia. To model the fluorescence activities in the epidermis layer, the fluorophore is assumed to be uniformly distributed in the epidermis layer as a solution while the dysplastic region can be regarded as some localized volume with a different concentration comparing to the surrounding medium. &lt;br /&gt;
&lt;br /&gt;
Reflection refers to the back-scatter of photon at the interface between different materials when the index of refraction changes. Since the main composition of human skin is water, the variation of index of refraction is minor therefore there is negligible amount of reflection inside human skin. The strongest reflection happens at the surface of skin where photon hits the skin tissue from air. This can result in a spectral reduction of the number of photons actually entering into the skin, which results in a reduction in the actual fluorescence signal strength. &lt;br /&gt;
&lt;br /&gt;
Absorption is an intrinsic property of light-matter interaction where the amplitude of electromagnetic field attenuates as propagating. The absorption in a solution can be quatitatively described using the Beer-Lambert law, where the intensity of light decay exponentially as it travels in the absorptive medium. The decay rate is characterized by the absorption coefficient &amp;lt;math&amp;gt; \mu_\alpha &amp;lt;/math&amp;gt; which is a function of the solvend absorpsivity and its concentration. In human skin tissue, the total amount of absorption can be decomposed into several different components, including absorption from water, fat, melanin, and blood content, which can be cast by an empirical equation [REF]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; mu_{\alpha} =BS\mu_{\alpha,oxy} + B (1-S) \mu_{\alpha,deoxy} + W\mu_{\alpha,water} + F\mu_{\alpha,fat} + M\mu_{\alpha,melanosome} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The scattering process refers to the change in the direction of motion when the photon interacts with the material (mainly the nuclei). In the actual scenario of fluorescence detection, the scattering process can result in two consequences including the attenuation of number of photons in the forward propagating direction, and introducing distortion to the localized signal. The second consequence is the critical factor of reducing the signal to noise ratio, as the localized signal from the dysplasia is smeared by the uncertain scattering processes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Methods ==&lt;br /&gt;
&lt;br /&gt;
=== Monte Carlo Simulation ===&lt;br /&gt;
&lt;br /&gt;
Monte Carlo simulations is a useful tool for modeling and understanding the intricate behaviors of light propagation through tissues. These simulations rely on probabilistic algorithms that simulate numerous random trajectories of photons within a medium, enabling the prediction and analysis of light transport in complex systems. These trajectories are based on scattering events and the optical properties of the medium. As photons travel, they undergo interactions, either scattering off structures within the tissue or getting absorbed. The simulations track the path lengths and angles of these photons, ultimately predicting the reflectance and absorption profiles. &lt;br /&gt;
&lt;br /&gt;
To simulate fluorescence, an initial simulation models the absorption of incident photons by fluorescent molecules like FAD or other fluorophores. The resulting absorption profile is then used as a source for fluorescent light of a different wavelength and the Monte Carlo algorithm is applied again.&lt;br /&gt;
&lt;br /&gt;
=== MCMatlab ===&lt;br /&gt;
&lt;br /&gt;
We decided to use MCmatlab based on a class project from last year, where it was implemented to simulate diffuse reflectance of different oxygenation levels for various skin types. &lt;br /&gt;
&lt;br /&gt;
In MCMatlab a medium is defined by specifying a set of parameters. The relevant parameters in our simulation are: Absorption coefficient ‘&amp;lt;math&amp;gt;\mu_a&amp;lt;/math&amp;gt;’, Scattering coefficient ‘&amp;lt;math&amp;gt;\mu_s&amp;lt;/math&amp;gt;’, Emission spectrum ‘&amp;lt;math&amp;gt;\epsilon_{\lambda}&amp;lt;/math&amp;gt;’, Quantum yield &#039;QY&#039;, Henyey-Greenstein Scattering anisotropy factor ‘g’ and Refractive Index ‘n’.&lt;br /&gt;
&lt;br /&gt;
All quantities are a function of wavelength. The absorption coefficient is given in units of cm&amp;lt;math&amp;gt;^{-1}&amp;lt;/math&amp;gt;. The scattering coefficient is expressed as the fraction of photons getting scattered while traveling in a medium per unit distance. The emission spectrum describes the relative spectral power emitted for each wavelength. The quantum yield is defined as the number of photons emitted per absorbed photons. Henyey-Greenstein Scattering anisotropy factor has a value between 0 and 1 and  quantifies the degree of angular distribution in the scattering of photons within a medium. More concretely, g = 0 signifies purely isotropic scattering, indicating an equal probability of scattering in all directions while g = 1 represents completely forward-peaked scattering, indicating a strong preference for photons to be scattered in the forward direction.&lt;br /&gt;
&lt;br /&gt;
=== Equivalent Model of Fluorophore Solution ===&lt;br /&gt;
When considering the optical response of the epidermis layer for blue light, absorption occurs both directly in FAD as well as in the rest of the tissue. In MCmatlab, a material can only be defined by a single absorption coefficient and emissivity spectrum. This presents a problem since absorption from surrounding tissue artificially contribute to FAD fluorescence in the model. Unfortunately,  this yields an unacceptable degree of inaccuracy as the overall absorption by the tissue is large compared to the absorption in FAD, due to its low concentration. In other words, the majority of the fluorescence would come from absorption in tissue which normally does not fluoresce. This also makes it hard to model subtle changes in FAD levels due to the strong artificial fluorescence background.&lt;br /&gt;
&lt;br /&gt;
[[File:model.png|500px|thumb|center|The multilayer model for fluorescence Monte Carlo simulation. ]]&lt;br /&gt;
&lt;br /&gt;
To solve this issue, we introduce a multilayer model where FAD molecules distributed in a volume is collected into thin planes spread across the volume (see Figure 1). By separating FAD from the rest of the tissue components, we can define two separate media in MCmatlab with their respective optical properties, avoiding the issue of artificial fluorescence. However, changing the geometry in this way will also affect the optical response. Below, we derive an expression to correct for the geometrical change. &lt;br /&gt;
&lt;br /&gt;
The total optical absorption can be described as:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \propto \int dV (-J)\cdot E = \int dV (-i\omega\varepsilon_0 \chi |E|^2) = \int dV \omega\varepsilon_0 \chi&#039;&#039; |E|^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;J&amp;lt;/math&amp;gt; is the current density, &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; is the electric field, &amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; is the angular frequency of light, &amp;lt;math&amp;gt; \varepsilon_0&amp;lt;/math&amp;gt;  is the free space electric permittivity, &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  is the material susceptibility, and &amp;lt;math&amp;gt;\chi&#039;&#039;&amp;lt;/math&amp;gt; is the imaginary part of &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  representing the optical absorption of a certain material. Under the representation of Beer-Lambert law, the electric field penetrating in the skin can be described as an exponential decay: &amp;lt;math&amp;gt; E = E_0 \exp(-\mu_\alpha z) &amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; is the material absorpsivity in the unit of [cm]&amp;lt;math&amp;gt;^{-1}&amp;lt;/math&amp;gt;. Substituting the exponentially decaying electric field into the absorption expression and applying our one-dimensional multilayer geometry: &lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \cong A \int_{0}^{L_z} dz \exp(-2\mu_\alpha z) = A\frac{1-\exp(-2\mu_\alpha L_z)}{2\mu_\alpha} &amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;L_z&amp;lt;/math&amp;gt; is the total length in z direction. To have the same amount of absorption in the fluorophore when using the multilayer model, we need to equivalently adjust the optical property &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; of the material to balance the effect of shrinking the volume occupied by the fluorophore. Gathering the fluorophore into a thin slab centered at &amp;lt;math&amp;gt;L_z/2&amp;lt;/math&amp;gt;, the absorption here is:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt;  \cong A \int_{L_z/2-\Delta{z}/2}^{L_z/2+\Delta{z}/2} dz \exp(-2\mu_\alpha&#039; z)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; = A\frac{\exp(-\mu_\alpha&#039;L_z)(\exp(\mu_\alpha&#039;\Delta{z})-\exp(-\mu_\alpha&#039;\Delta{z}))}{2\mu_\alpha&#039;}\cong A\exp(-\mu_\alpha&#039;L_z)\Delta{z}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Equaling the absorption and assuming the absorpsivity of FAD is small (&amp;lt;math&amp;gt;\mu_\alpha L_z\ll1&amp;lt;/math&amp;gt;), one can extract an approximate expression for the equivalent absorpsivity:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;    \mu_\alpha&#039; = \frac{1}{L_z}\log(\frac{L_z}{\Delta{z}}). &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using the equivalent absorpsivity correction, the total absorption is the same. In addition, the blue photon absorbed by FAD will result in the fluorescence emission, such that the correct FAD fluorescence activity can be simulated.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Beer-Lambert: Absorbance A is given by &lt;br /&gt;
&amp;lt;math&amp;gt; A= \mu_acl &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for this to be constant in both geometries, we get the relationship:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \mu_{a}cl=\mu_{a}&#039;c&#039;l&#039; &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Thus, &amp;lt;math&amp;gt; \mu_{a}&#039;c&#039;=\mu_{a}c \frac{L_z}{\Delta z} &amp;lt;/math&amp;gt;. This means that we can either change the concentration of the absorption coefficient to compensate for the reduced volume.&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
&lt;br /&gt;
The properties of the dysplastic region directly determines the fluorescence signal. Here, the properties refer to the geometry size, shape, the fluorophore concentration, and the location inside the skin tissue. Below, we will carry out a few computational and numerical experiments to qualitatively describe the dependence between the fluorescence signal strength and these factors. The simulation is conducted based on MCMatlab Fluorescence Monte Carlo simulation package. &lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Width ===&lt;br /&gt;
[[File:results1_updated.png|900px|thumb|center| (a) Schematic of the geometry, which is defined as a one-dimensional variation in FAD concentration with a low concentration at the central part representing the dysplastic region. (b) The actual fluorescence signal measured as a function of x position. The contrast signal is extracted as the ratio between the magnitude of the dip and the maximum signal level. (c) The dependence betweewn the width of the dysplastic region and the fluorescence contrast signal. (d) The measured fluorescence signal for each width value with an increasing width from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
For the first study, the simulated geometry is defined as a one-dimensional concentration variation in &amp;quot;x&amp;quot; as shown in the figure above with a lower FAD concentration at the central region representing the dysplastic region. The width of the dysplastic region is swept and the output fluorescence contrast signal is measured. It is shown that the contrast signal first goes up, then saturates at w~0.35 mm. At small width values, the signals are mixed up from the two edges where the concentration changes sharply, so that one cannot resolve the full contrast signal. When the two edges are separated sufficiently far, the full signal can be resolved, giving a relative fluorescence contrast as 0.3.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Depth ===&lt;br /&gt;
Next, the qualitative relation is studied between the depth of the dysplastic region inside the skin and the fluorescence contrast signal. In this case, the geometry is defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm and the thickness to 0.1 mm. The depth is set as the swept parameter, and it is defined as the distance between the top surface of the epidermis layer and the top surface of the rectangular wire. &lt;br /&gt;
&lt;br /&gt;
[[File:results2_updated.png|600px|thumb|center| (a) Schematic of the geometry, where the FAD concentration inside the rectangular rod is lower, representing the dysplastic region. The depth of the rectangular wire is swept. (b) The dependence betweewn the depth of the dysplastic region and the fluorescence contrast signal. The red dashed line illustrates an exponential fitting of the simulation results. (c) The measured fluorescence signal for each depth value with an increasing depth from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that the fluorescence contrast signal decreases as the depth increases, which agrees with intuition. As for a deeper location inside the skin, it takes farther distance for the fluorescent light to travel out, therefore the distortion introduced by the scattering events as the light propagates through the skin tissue is stronger. In addition, the attenuation from both scattering and absorption is stronger as well, which further reduces the SNR. For depth greater than 0.1 mm, the contrast signal strength is nearly vanishing.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the FAD Concentration Difference ===&lt;br /&gt;
Similarly, the strength of the contrast signal should also be a function of the concentration difference of FAD between the dysplastic and the healthy tissue. The geometry is again defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm, the thickness to 0.1 mm, and the depth is set to 0.04 mm. The volumetric concentration of FAD in the healthy region is fixed to 0.2 while the FAD concentration in the dysplastic region is varied from 0 to 0.2. &lt;br /&gt;
&lt;br /&gt;
[[File:results32_updated.png|700px|thumb|center| (a,c) Schematic of the geometry, (a) has a shallower dysplastic region while it is deeper in (c). The FAD concentration inside the rectangular rod is swept. (b,d) The dependence betweewn the concentration difference and the fluorescence contrast signal. (c) The measured fluorescence signal for each concentration value with a decreasing concentration contrast from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that for 0.04 mm as the depth, the fluorescence contrast signal is linearly proportional to the FAD concentration difference, which again agrees with intuition. The concentration difference determines the distribution in the number of fluorescence emitter, which is equivalent to the source and directly proportional to the fluorescence intensity. When increasing the depth of the rectangular wire to 0.1 mm, again the linear dependence is shown however with an overall lower amplitude, representing the decrease in the number of fluorescence emitter.&lt;br /&gt;
&lt;br /&gt;
=== Image Quality and Simulation Limitations  ===&lt;br /&gt;
Optical Monte Carlo simulations, while powerful and versatile, are computationally demanding due to the nature of light propagation and the need to model a vast number of photon trajectories. The computational expense arises from the necessity to track individual photon interactions and their probabilistic behavior as they scatter, absorb, and move through the medium.  Modeling three-dimensional environments adds complexity, as simulations must account for photon movements in all spatial directions within the medium. To illustrate this, a regular high performance laptop were able to simulate about 10&amp;lt;math&amp;gt;^6&amp;lt;/math&amp;gt; photons per minute, while a 1mW light source at 400 nm emits 10&amp;lt;math&amp;gt;^{15}&amp;lt;/math&amp;gt; photons per second. This can be a problem when trying to model realistic scenarios with low signal to noise. Figure 5 shows a set of images of an embedded dysplastic lesion in healthy tissue, with varying number of simulated photons. &lt;br /&gt;
&lt;br /&gt;
[[File:images_SImTime.png|700px|thumb|center| Image quality as a function of simulation number of photons simulated. Top) Collected images of an embedded dysplastic lesion inside healthy tissue. Bottom) Cross section of the image intensity.  ]]&lt;br /&gt;
&lt;br /&gt;
== Conclusions ==&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
You can write math equations as follows:&lt;br /&gt;
&amp;lt;math&amp;gt;y = x^2 + 5 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can include images as follows (you will need to upload the image first using the toolbox on the left bar, using the &amp;quot;Upload file&amp;quot; link).&lt;br /&gt;
&lt;br /&gt;
[[File:Snip 20210106183207.png|200px]]&lt;/div&gt;</summary>
		<author><name>Bohan</name></author>
	</entry>
	<entry>
		<id>http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=33975</id>
		<title>Medical imaging: Simulations of reflectance and fluorescence of human tissue</title>
		<link rel="alternate" type="text/html" href="http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=33975"/>
		<updated>2023-12-18T16:17:57Z</updated>

		<summary type="html">&lt;p&gt;Bohan: /* Qualitative Dependence on the Dysplastic Width */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
Squamous dysplasia, a precursor to squamous cell carcinoma, represents a spectrum of histological alterations within the epithelium, characterized by abnormal cellular morphology and metabolism. Early identification is critical to prevent the progression to invasive carcinoma. Auto fluorescent imaging (AFI) has emerged as a promising non-invasive technique for the detection of squamous dysplasia. Flavin adenine dinucleotide (FAD), an essential co-factor in cellular oxidative metabolism, undergoes changes in concentration and redox state during dysplastic transformations. Studies indicate a correlation between dysplastic progression and altered FAD levels, leading to variations in tissue fluorescence. Lower FAD concentrations in dysplastic areas manifest as decreased fluorescence intensity level, which in principle can be imaged with AFI.&lt;br /&gt;
&lt;br /&gt;
AFI uses the intrinsic fluorescent properties of endogenous molecules within tissues. Under appropriate excitation wavelengths, endogenous fluorophores emit light, providing real-time visualization of tissue morphology. The altered metabolic activity and subsequent changes in FAD concentrations in dysplastic tissues offer a distinct fluorescence pattern that is in principle discernible through AFI.&lt;br /&gt;
&lt;br /&gt;
In clinical settings, AFI demonstrates promise as a non-invasive tool for identifying early dysplastic lesions. Its ability to highlight subtle changes in tissue autofluorescence can aid in targeted biopsies and delineation of margins during surgical interventions. In this project, we explore imaging of dysplastic tissues by using optical Monte Carlo based fluorescence simulations. We identify qualitative trends of image quality with respect to dysplastic lesion size, depth, and fluorophore concentration change. Understanding how photons interact with fluorophores, the probability of excitation, and the emitted fluorescence intensity can assist in predicting and interpreting experimental fluorescence measurements.&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
=== Optical Processes in Skin Tissue ===&lt;br /&gt;
When shining light into the skin, there are multiple light-matter interaction processes happening simultaneously, including reflection, absorption, scattering, and fluorescence as depicted in the figure below. &lt;br /&gt;
&lt;br /&gt;
The key process in this study is fluorescence. When short wavelength photon is absorbed, the material will re-emit photon at a longer wavelength and smaller energy. In the epidermis layer of the skin tissue, there are two fluorescence molecules, FAD and NADH, which are related to metabolic activities of cells. By measuring the fluorescence activities, one can monitor the localized concentration of FAD and NADH in the epidermis layer, therefore acquiring early signs on potnetial dysplasia. To model the fluorescence activities in the epidermis layer, the fluorophore is assumed to be uniformly distributed in the epidermis layer as a solution while the dysplastic region can be regarded as some localized volume with a different concentration comparing to the surrounding medium. &lt;br /&gt;
&lt;br /&gt;
Reflection refers to the back-scatter of photon at the interface between different materials when the index of refraction changes. Since the main composition of human skin is water, the variation of index of refraction is minor therefore there is negligible amount of reflection inside human skin. The strongest reflection happens at the surface of skin where photon hits the skin tissue from air. This can result in a spectral reduction of the number of photons actually entering into the skin, which results in a reduction in the actual fluorescence signal strength. &lt;br /&gt;
&lt;br /&gt;
Absorption is an intrinsic property of light-matter interaction where the amplitude of electromagnetic field attenuates as propagating. The absorption in a solution can be quatitatively described using the Beer-Lambert law, where the intensity of light decay exponentially as it travels in the absorptive medium. The decay rate is characterized by the absorption coefficient &amp;lt;math&amp;gt; \mu_\alpha &amp;lt;/math&amp;gt; which is a function of the solvend absorpsivity and its concentration. In human skin tissue, the total amount of absorption can be decomposed into several different components, including absorption from water, fat, melanin, and blood content, which can be cast by an empirical equation [REF]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; mu_{\alpha} =BS\mu_{\alpha,oxy} + B (1-S) \mu_{\alpha,deoxy} + W\mu_{\alpha,water} + F\mu_{\alpha,fat} + M\mu_{\alpha,melanosome} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The scattering process refers to the change in the direction of motion when the photon interacts with the material (mainly the nuclei). In the actual scenario of fluorescence detection, the scattering process can result in two consequences including the attenuation of number of photons in the forward propagating direction, and introducing distortion to the localized signal. The second consequence is the critical factor of reducing the signal to noise ratio, as the localized signal from the dysplasia is smeared by the uncertain scattering processes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Methods ==&lt;br /&gt;
&lt;br /&gt;
=== Monte Carlo Simulation ===&lt;br /&gt;
&lt;br /&gt;
Monte Carlo simulations is a useful tool for modeling and understanding the intricate behaviors of light propagation through tissues. These simulations rely on probabilistic algorithms that simulate numerous random trajectories of photons within a medium, enabling the prediction and analysis of light transport in complex systems. These trajectories are based on scattering events and the optical properties of the medium. As photons travel, they undergo interactions, either scattering off structures within the tissue or getting absorbed. The simulations track the path lengths and angles of these photons, ultimately predicting the reflectance and absorption profiles. &lt;br /&gt;
&lt;br /&gt;
To simulate fluorescence, an initial simulation models the absorption of incident photons by fluorescent molecules like FAD or other fluorophores. The resulting absorption profile is then used as a source for fluorescent light of a different wavelength and the Monte Carlo algorithm is applied again.&lt;br /&gt;
&lt;br /&gt;
=== MCMatlab ===&lt;br /&gt;
&lt;br /&gt;
We decided to use MCmatlab based on a class project from last year, where it was implemented to simulate diffuse reflectance of different oxygenation levels for various skin types. &lt;br /&gt;
&lt;br /&gt;
In MCMatlab a medium is defined by specifying a set of parameters. The relevant parameters in our simulation are: Absorption coefficient ‘&amp;lt;math&amp;gt;\mu_a&amp;lt;/math&amp;gt;’, Scattering coefficient ‘&amp;lt;math&amp;gt;\mu_s&amp;lt;/math&amp;gt;’, Emission spectrum ‘&amp;lt;math&amp;gt;\epsilon_{\lambda}&amp;lt;/math&amp;gt;’, Quantum yield &#039;QY&#039;, Henyey-Greenstein Scattering anisotropy factor ‘g’ and Refractive Index ‘n’.&lt;br /&gt;
&lt;br /&gt;
All quantities are a function of wavelength. The absorption coefficient is given in units of cm&amp;lt;math&amp;gt;^{-1}&amp;lt;/math&amp;gt;. The scattering coefficient is expressed as the fraction of photons getting scattered while traveling in a medium per unit distance. The emission spectrum describes the relative spectral power emitted for each wavelength. The quantum yield is defined as the number of photons emitted per absorbed photons. Henyey-Greenstein Scattering anisotropy factor has a value between 0 and 1 and  quantifies the degree of angular distribution in the scattering of photons within a medium. More concretely, g = 0 signifies purely isotropic scattering, indicating an equal probability of scattering in all directions while g = 1 represents completely forward-peaked scattering, indicating a strong preference for photons to be scattered in the forward direction.&lt;br /&gt;
&lt;br /&gt;
=== Equivalent Model of Fluorophore Solution ===&lt;br /&gt;
When considering the optical response of the epidermis layer for blue light, absorption occurs both directly in FAD as well as in the rest of the tissue. In MCmatlab, a material can only be defined by a single absorption coefficient and emissivity spectrum. This presents a problem since absorption from surrounding tissue artificially contribute to FAD fluorescence in the model. Unfortunately,  this yields an unacceptable degree of inaccuracy as the overall absorption by the tissue is large compared to the absorption in FAD, due to its low concentration. In other words, the majority of the fluorescence would come from absorption in tissue which normally does not fluoresce. This also makes it hard to model subtle changes in FAD levels due to the strong artificial fluorescence background.&lt;br /&gt;
&lt;br /&gt;
[[File:model.png|500px|thumb|center|The multilayer model for fluorescence Monte Carlo simulation. ]]&lt;br /&gt;
&lt;br /&gt;
To solve this issue, we introduce a multilayer model where FAD molecules distributed in a volume is collected into thin planes spread across the volume (see Figure 1). By separating FAD from the rest of the tissue components, we can define two separate media in MCmatlab with their respective optical properties, avoiding the issue of artificial fluorescence. However, changing the geometry in this way will also affect the optical response. Below, we derive an expression to correct for the geometrical change. &lt;br /&gt;
&lt;br /&gt;
The total optical absorption can be described as:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \propto \int dV (-J)\cdot E = \int dV (-i\omega\varepsilon_0 \chi |E|^2) = \int dV \omega\varepsilon_0 \chi&#039;&#039; |E|^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;J&amp;lt;/math&amp;gt; is the current density, &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; is the electric field, &amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; is the angular frequency of light, &amp;lt;math&amp;gt; \varepsilon_0&amp;lt;/math&amp;gt;  is the free space electric permittivity, &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  is the material susceptibility, and &amp;lt;math&amp;gt;\chi&#039;&#039;&amp;lt;/math&amp;gt; is the imaginary part of &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  representing the optical absorption of a certain material. Under the representation of Beer-Lambert law, the electric field penetrating in the skin can be described as an exponential decay: &amp;lt;math&amp;gt; E = E_0 \exp(-\mu_\alpha z) &amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; is the material absorpsivity in the unit of [cm]&amp;lt;math&amp;gt;^{-1}&amp;lt;/math&amp;gt;. Substituting the exponentially decaying electric field into the absorption expression and applying our one-dimensional multilayer geometry: &lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \cong A \int_{0}^{L_z} dz \exp(-2\mu_\alpha z) = A\frac{1-\exp(-2\mu_\alpha L_z)}{2\mu_\alpha} &amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;L_z&amp;lt;/math&amp;gt; is the total length in z direction. To have the same amount of absorption in the fluorophore when using the multilayer model, we need to equivalently adjust the optical property &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; of the material to balance the effect of shrinking the volume occupied by the fluorophore. Gathering the fluorophore into a thin slab centered at &amp;lt;math&amp;gt;L_z/2&amp;lt;/math&amp;gt;, the absorption here is:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt;  \cong A \int_{L_z/2-\Delta{z}/2}^{L_z/2+\Delta{z}/2} dz \exp(-2\mu_\alpha&#039; z)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; = A\frac{\exp(-\mu_\alpha&#039;L_z)(\exp(\mu_\alpha&#039;\Delta{z})-\exp(-\mu_\alpha&#039;\Delta{z}))}{2\mu_\alpha&#039;}\cong A\exp(-\mu_\alpha&#039;L_z)\Delta{z}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Equaling the absorption and assuming the absorpsivity of FAD is small (&amp;lt;math&amp;gt;\mu_\alpha L_z\ll1&amp;lt;/math&amp;gt;), one can extract an approximate expression for the equivalent absorpsivity:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;    \mu_\alpha&#039; = \frac{1}{L_z}\log(\frac{L_z}{\Delta{z}}). &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using the equivalent absorpsivity correction, the total absorption is the same. In addition, the blue photon absorbed by FAD will result in the fluorescence emission, such that the correct FAD fluorescence activity can be simulated.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Beer-Lambert: Absorbance A is given by &lt;br /&gt;
&amp;lt;math&amp;gt; A= \mu_acl &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for this to be constant in both geometries, we get the relationship:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \mu_{a}cl=\mu_{a}&#039;c&#039;l&#039; &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Thus, &amp;lt;math&amp;gt; \mu_{a}&#039;c&#039;=\mu_{a}c \frac{L_z}{\Delta z} &amp;lt;/math&amp;gt;. This means that we can either change the concentration of the absorption coefficient to compensate for the reduced volume.&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
&lt;br /&gt;
The properties of the dysplastic region directly determines the fluorescence signal. Here, the properties refer to the geometry size, shape, the fluorophore concentration, and the location inside the skin tissue. Below, we will carry out a few computational and numerical experiments to qualitatively describe the dependence between the fluorescence signal strength and these factors. The simulation is conducted based on MCMatlab Fluorescence Monte Carlo simulation package. &lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Width ===&lt;br /&gt;
[[File:results1_updated.png|900px|thumb|center| (a) Schematic of the geometry, which is defined as a one-dimensional variation in FAD concentration with a low concentration at the central part representing the dysplastic region. (b) The actual fluorescence signal measured as a function of x position. The contrast signal is extracted as the ratio between the magnitude of the dip and the maximum signal level. (c) The dependence betweewn the width of the dysplastic region and the fluorescence contrast signal. (d) The measured fluorescence signal for each width value with an increasing width from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
For the first study, the simulated geometry is defined as a one-dimensional concentration variation in &amp;quot;x&amp;quot; as shown in the figure above with a lower FAD concentration at the central region representing the dysplastic region. The width of the dysplastic region is swept and the output fluorescence contrast signal is measured. It is shown that the contrast signal first goes up, then saturates at w~0.35 mm. At small width values, the signals are mixed up from the two edges where the concentration changes sharply, so that one cannot resolve the full contrast signal. When the two edges are separated sufficiently far, the full signal can be resolved, giving a relative fluorescence contrast as 0.3.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Depth ===&lt;br /&gt;
Next, the qualitative relation is studied between the depth of the dysplastic region inside the skin and the fluorescence contrast signal. In this case, the geometry is defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm and the thickness to 0.1 mm. The depth is set as the swept parameter, and it is defined as the distance between the top surface of the epidermis layer and the top surface of the rectangular wire. &lt;br /&gt;
&lt;br /&gt;
[[File:results2_updated.png|450px|thumb|center| (a) Schematic of the geometry, where the FAD concentration inside the rectangular rod is lower, representing the dysplastic region. The depth of the rectangular wire is swept. (b) The dependence betweewn the depth of the dysplastic region and the fluorescence contrast signal. The red dashed line illustrates an exponential fitting of the simulation results. (c) The measured fluorescence signal for each depth value with an increasing depth from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that the fluorescence contrast signal decreases as the depth increases, which agrees with intuition. As for a deeper location inside the skin, it takes farther distance for the fluorescent light to travel out, therefore the distortion introduced by the scattering events as the light propagates through the skin tissue is stronger. In addition, the attenuation from both scattering and absorption is stronger as well, which further reduces the SNR. For depth greater than 0.1 mm, the contrast signal strength is nearly vanishing.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the FAD Concentration Difference ===&lt;br /&gt;
Similarly, the strength of the contrast signal should also be a function of the concentration difference of FAD between the dysplastic and the healthy tissue. The geometry is again defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm, the thickness to 0.1 mm, and the depth is set to 0.04 mm. The volumetric concentration of FAD in the healthy region is fixed to 0.2 while the FAD concentration in the dysplastic region is varied from 0 to 0.2. &lt;br /&gt;
&lt;br /&gt;
[[File:results32_updated.png|700px|thumb|center| (a,c) Schematic of the geometry, (a) has a shallower dysplastic region while it is deeper in (c). The FAD concentration inside the rectangular rod is swept. (b,d) The dependence betweewn the concentration difference and the fluorescence contrast signal. (c) The measured fluorescence signal for each concentration value with a decreasing concentration contrast from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that for 0.04 mm as the depth, the fluorescence contrast signal is linearly proportional to the FAD concentration difference, which again agrees with intuition. The concentration difference determines the distribution in the number of fluorescence emitter, which is equivalent to the source and directly proportional to the fluorescence intensity. When increasing the depth of the rectangular wire to 0.1 mm, again the linear dependence is shown however with an overall lower amplitude, representing the decrease in the number of fluorescence emitter.&lt;br /&gt;
&lt;br /&gt;
=== Image Quality and Simulation Limitations  ===&lt;br /&gt;
Optical Monte Carlo simulations, while powerful and versatile, are computationally demanding due to the nature of light propagation and the need to model a vast number of photon trajectories. The computational expense arises from the necessity to track individual photon interactions and their probabilistic behavior as they scatter, absorb, and move through the medium.  Modeling three-dimensional environments adds complexity, as simulations must account for photon movements in all spatial directions within the medium. To illustrate this, a regular high performance laptop were able to simulate about 10&amp;lt;math&amp;gt;^6&amp;lt;/math&amp;gt; photons per minute, while a 1mW light source at 400 nm emits 10&amp;lt;math&amp;gt;^{15}&amp;lt;/math&amp;gt; photons per second. This can be a problem when trying to model realistic scenarios with low signal to noise. Figure 5 shows a set of images of an embedded dysplastic lesion in healthy tissue, with varying number of simulated photons. &lt;br /&gt;
&lt;br /&gt;
[[File:images_SImTime.png|700px|thumb|center| Image quality as a function of simulation number of photons simulated. Top) Collected images of an embedded dysplastic lesion inside healthy tissue. Bottom) Cross section of the image intensity.  ]]&lt;br /&gt;
&lt;br /&gt;
== Conclusions ==&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
You can write math equations as follows:&lt;br /&gt;
&amp;lt;math&amp;gt;y = x^2 + 5 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can include images as follows (you will need to upload the image first using the toolbox on the left bar, using the &amp;quot;Upload file&amp;quot; link).&lt;br /&gt;
&lt;br /&gt;
[[File:Snip 20210106183207.png|200px]]&lt;/div&gt;</summary>
		<author><name>Bohan</name></author>
	</entry>
	<entry>
		<id>http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=33973</id>
		<title>Medical imaging: Simulations of reflectance and fluorescence of human tissue</title>
		<link rel="alternate" type="text/html" href="http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=33973"/>
		<updated>2023-12-18T16:17:32Z</updated>

		<summary type="html">&lt;p&gt;Bohan: /* Equivalent Model of Fluorophore Solution */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
Squamous dysplasia, a precursor to squamous cell carcinoma, represents a spectrum of histological alterations within the epithelium, characterized by abnormal cellular morphology and metabolism. Early identification is critical to prevent the progression to invasive carcinoma. Auto fluorescent imaging (AFI) has emerged as a promising non-invasive technique for the detection of squamous dysplasia. Flavin adenine dinucleotide (FAD), an essential co-factor in cellular oxidative metabolism, undergoes changes in concentration and redox state during dysplastic transformations. Studies indicate a correlation between dysplastic progression and altered FAD levels, leading to variations in tissue fluorescence. Lower FAD concentrations in dysplastic areas manifest as decreased fluorescence intensity level, which in principle can be imaged with AFI.&lt;br /&gt;
&lt;br /&gt;
AFI uses the intrinsic fluorescent properties of endogenous molecules within tissues. Under appropriate excitation wavelengths, endogenous fluorophores emit light, providing real-time visualization of tissue morphology. The altered metabolic activity and subsequent changes in FAD concentrations in dysplastic tissues offer a distinct fluorescence pattern that is in principle discernible through AFI.&lt;br /&gt;
&lt;br /&gt;
In clinical settings, AFI demonstrates promise as a non-invasive tool for identifying early dysplastic lesions. Its ability to highlight subtle changes in tissue autofluorescence can aid in targeted biopsies and delineation of margins during surgical interventions. In this project, we explore imaging of dysplastic tissues by using optical Monte Carlo based fluorescence simulations. We identify qualitative trends of image quality with respect to dysplastic lesion size, depth, and fluorophore concentration change. Understanding how photons interact with fluorophores, the probability of excitation, and the emitted fluorescence intensity can assist in predicting and interpreting experimental fluorescence measurements.&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
=== Optical Processes in Skin Tissue ===&lt;br /&gt;
When shining light into the skin, there are multiple light-matter interaction processes happening simultaneously, including reflection, absorption, scattering, and fluorescence as depicted in the figure below. &lt;br /&gt;
&lt;br /&gt;
The key process in this study is fluorescence. When short wavelength photon is absorbed, the material will re-emit photon at a longer wavelength and smaller energy. In the epidermis layer of the skin tissue, there are two fluorescence molecules, FAD and NADH, which are related to metabolic activities of cells. By measuring the fluorescence activities, one can monitor the localized concentration of FAD and NADH in the epidermis layer, therefore acquiring early signs on potnetial dysplasia. To model the fluorescence activities in the epidermis layer, the fluorophore is assumed to be uniformly distributed in the epidermis layer as a solution while the dysplastic region can be regarded as some localized volume with a different concentration comparing to the surrounding medium. &lt;br /&gt;
&lt;br /&gt;
Reflection refers to the back-scatter of photon at the interface between different materials when the index of refraction changes. Since the main composition of human skin is water, the variation of index of refraction is minor therefore there is negligible amount of reflection inside human skin. The strongest reflection happens at the surface of skin where photon hits the skin tissue from air. This can result in a spectral reduction of the number of photons actually entering into the skin, which results in a reduction in the actual fluorescence signal strength. &lt;br /&gt;
&lt;br /&gt;
Absorption is an intrinsic property of light-matter interaction where the amplitude of electromagnetic field attenuates as propagating. The absorption in a solution can be quatitatively described using the Beer-Lambert law, where the intensity of light decay exponentially as it travels in the absorptive medium. The decay rate is characterized by the absorption coefficient &amp;lt;math&amp;gt; \mu_\alpha &amp;lt;/math&amp;gt; which is a function of the solvend absorpsivity and its concentration. In human skin tissue, the total amount of absorption can be decomposed into several different components, including absorption from water, fat, melanin, and blood content, which can be cast by an empirical equation [REF]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; mu_{\alpha} =BS\mu_{\alpha,oxy} + B (1-S) \mu_{\alpha,deoxy} + W\mu_{\alpha,water} + F\mu_{\alpha,fat} + M\mu_{\alpha,melanosome} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The scattering process refers to the change in the direction of motion when the photon interacts with the material (mainly the nuclei). In the actual scenario of fluorescence detection, the scattering process can result in two consequences including the attenuation of number of photons in the forward propagating direction, and introducing distortion to the localized signal. The second consequence is the critical factor of reducing the signal to noise ratio, as the localized signal from the dysplasia is smeared by the uncertain scattering processes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Methods ==&lt;br /&gt;
&lt;br /&gt;
=== Monte Carlo Simulation ===&lt;br /&gt;
&lt;br /&gt;
Monte Carlo simulations is a useful tool for modeling and understanding the intricate behaviors of light propagation through tissues. These simulations rely on probabilistic algorithms that simulate numerous random trajectories of photons within a medium, enabling the prediction and analysis of light transport in complex systems. These trajectories are based on scattering events and the optical properties of the medium. As photons travel, they undergo interactions, either scattering off structures within the tissue or getting absorbed. The simulations track the path lengths and angles of these photons, ultimately predicting the reflectance and absorption profiles. &lt;br /&gt;
&lt;br /&gt;
To simulate fluorescence, an initial simulation models the absorption of incident photons by fluorescent molecules like FAD or other fluorophores. The resulting absorption profile is then used as a source for fluorescent light of a different wavelength and the Monte Carlo algorithm is applied again.&lt;br /&gt;
&lt;br /&gt;
=== MCMatlab ===&lt;br /&gt;
&lt;br /&gt;
We decided to use MCmatlab based on a class project from last year, where it was implemented to simulate diffuse reflectance of different oxygenation levels for various skin types. &lt;br /&gt;
&lt;br /&gt;
In MCMatlab a medium is defined by specifying a set of parameters. The relevant parameters in our simulation are: Absorption coefficient ‘&amp;lt;math&amp;gt;\mu_a&amp;lt;/math&amp;gt;’, Scattering coefficient ‘&amp;lt;math&amp;gt;\mu_s&amp;lt;/math&amp;gt;’, Emission spectrum ‘&amp;lt;math&amp;gt;\epsilon_{\lambda}&amp;lt;/math&amp;gt;’, Quantum yield &#039;QY&#039;, Henyey-Greenstein Scattering anisotropy factor ‘g’ and Refractive Index ‘n’.&lt;br /&gt;
&lt;br /&gt;
All quantities are a function of wavelength. The absorption coefficient is given in units of cm&amp;lt;math&amp;gt;^{-1}&amp;lt;/math&amp;gt;. The scattering coefficient is expressed as the fraction of photons getting scattered while traveling in a medium per unit distance. The emission spectrum describes the relative spectral power emitted for each wavelength. The quantum yield is defined as the number of photons emitted per absorbed photons. Henyey-Greenstein Scattering anisotropy factor has a value between 0 and 1 and  quantifies the degree of angular distribution in the scattering of photons within a medium. More concretely, g = 0 signifies purely isotropic scattering, indicating an equal probability of scattering in all directions while g = 1 represents completely forward-peaked scattering, indicating a strong preference for photons to be scattered in the forward direction.&lt;br /&gt;
&lt;br /&gt;
=== Equivalent Model of Fluorophore Solution ===&lt;br /&gt;
When considering the optical response of the epidermis layer for blue light, absorption occurs both directly in FAD as well as in the rest of the tissue. In MCmatlab, a material can only be defined by a single absorption coefficient and emissivity spectrum. This presents a problem since absorption from surrounding tissue artificially contribute to FAD fluorescence in the model. Unfortunately,  this yields an unacceptable degree of inaccuracy as the overall absorption by the tissue is large compared to the absorption in FAD, due to its low concentration. In other words, the majority of the fluorescence would come from absorption in tissue which normally does not fluoresce. This also makes it hard to model subtle changes in FAD levels due to the strong artificial fluorescence background.&lt;br /&gt;
&lt;br /&gt;
[[File:model.png|500px|thumb|center|The multilayer model for fluorescence Monte Carlo simulation. ]]&lt;br /&gt;
&lt;br /&gt;
To solve this issue, we introduce a multilayer model where FAD molecules distributed in a volume is collected into thin planes spread across the volume (see Figure 1). By separating FAD from the rest of the tissue components, we can define two separate media in MCmatlab with their respective optical properties, avoiding the issue of artificial fluorescence. However, changing the geometry in this way will also affect the optical response. Below, we derive an expression to correct for the geometrical change. &lt;br /&gt;
&lt;br /&gt;
The total optical absorption can be described as:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \propto \int dV (-J)\cdot E = \int dV (-i\omega\varepsilon_0 \chi |E|^2) = \int dV \omega\varepsilon_0 \chi&#039;&#039; |E|^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;J&amp;lt;/math&amp;gt; is the current density, &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; is the electric field, &amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; is the angular frequency of light, &amp;lt;math&amp;gt; \varepsilon_0&amp;lt;/math&amp;gt;  is the free space electric permittivity, &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  is the material susceptibility, and &amp;lt;math&amp;gt;\chi&#039;&#039;&amp;lt;/math&amp;gt; is the imaginary part of &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  representing the optical absorption of a certain material. Under the representation of Beer-Lambert law, the electric field penetrating in the skin can be described as an exponential decay: &amp;lt;math&amp;gt; E = E_0 \exp(-\mu_\alpha z) &amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; is the material absorpsivity in the unit of [cm]&amp;lt;math&amp;gt;^{-1}&amp;lt;/math&amp;gt;. Substituting the exponentially decaying electric field into the absorption expression and applying our one-dimensional multilayer geometry: &lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \cong A \int_{0}^{L_z} dz \exp(-2\mu_\alpha z) = A\frac{1-\exp(-2\mu_\alpha L_z)}{2\mu_\alpha} &amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;L_z&amp;lt;/math&amp;gt; is the total length in z direction. To have the same amount of absorption in the fluorophore when using the multilayer model, we need to equivalently adjust the optical property &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; of the material to balance the effect of shrinking the volume occupied by the fluorophore. Gathering the fluorophore into a thin slab centered at &amp;lt;math&amp;gt;L_z/2&amp;lt;/math&amp;gt;, the absorption here is:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt;  \cong A \int_{L_z/2-\Delta{z}/2}^{L_z/2+\Delta{z}/2} dz \exp(-2\mu_\alpha&#039; z)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; = A\frac{\exp(-\mu_\alpha&#039;L_z)(\exp(\mu_\alpha&#039;\Delta{z})-\exp(-\mu_\alpha&#039;\Delta{z}))}{2\mu_\alpha&#039;}\cong A\exp(-\mu_\alpha&#039;L_z)\Delta{z}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Equaling the absorption and assuming the absorpsivity of FAD is small (&amp;lt;math&amp;gt;\mu_\alpha L_z\ll1&amp;lt;/math&amp;gt;), one can extract an approximate expression for the equivalent absorpsivity:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;    \mu_\alpha&#039; = \frac{1}{L_z}\log(\frac{L_z}{\Delta{z}}). &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using the equivalent absorpsivity correction, the total absorption is the same. In addition, the blue photon absorbed by FAD will result in the fluorescence emission, such that the correct FAD fluorescence activity can be simulated.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Beer-Lambert: Absorbance A is given by &lt;br /&gt;
&amp;lt;math&amp;gt; A= \mu_acl &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for this to be constant in both geometries, we get the relationship:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \mu_{a}cl=\mu_{a}&#039;c&#039;l&#039; &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Thus, &amp;lt;math&amp;gt; \mu_{a}&#039;c&#039;=\mu_{a}c \frac{L_z}{\Delta z} &amp;lt;/math&amp;gt;. This means that we can either change the concentration of the absorption coefficient to compensate for the reduced volume.&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
&lt;br /&gt;
The properties of the dysplastic region directly determines the fluorescence signal. Here, the properties refer to the geometry size, shape, the fluorophore concentration, and the location inside the skin tissue. Below, we will carry out a few computational and numerical experiments to qualitatively describe the dependence between the fluorescence signal strength and these factors. The simulation is conducted based on MCMatlab Fluorescence Monte Carlo simulation package. &lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Width ===&lt;br /&gt;
[[File:results1_updated.png|700px|thumb|center| (a) Schematic of the geometry, which is defined as a one-dimensional variation in FAD concentration with a low concentration at the central part representing the dysplastic region. (b) The actual fluorescence signal measured as a function of x position. The contrast signal is extracted as the ratio between the magnitude of the dip and the maximum signal level. (c) The dependence betweewn the width of the dysplastic region and the fluorescence contrast signal. (d) The measured fluorescence signal for each width value with an increasing width from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
For the first study, the simulated geometry is defined as a one-dimensional concentration variation in &amp;quot;x&amp;quot; as shown in the figure above with a lower FAD concentration at the central region representing the dysplastic region. The width of the dysplastic region is swept and the output fluorescence contrast signal is measured. It is shown that the contrast signal first goes up, then saturates at w~0.35 mm. At small width values, the signals are mixed up from the two edges where the concentration changes sharply, so that one cannot resolve the full contrast signal. When the two edges are separated sufficiently far, the full signal can be resolved, giving a relative fluorescence contrast as 0.3.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Depth ===&lt;br /&gt;
Next, the qualitative relation is studied between the depth of the dysplastic region inside the skin and the fluorescence contrast signal. In this case, the geometry is defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm and the thickness to 0.1 mm. The depth is set as the swept parameter, and it is defined as the distance between the top surface of the epidermis layer and the top surface of the rectangular wire. &lt;br /&gt;
&lt;br /&gt;
[[File:results2_updated.png|450px|thumb|center| (a) Schematic of the geometry, where the FAD concentration inside the rectangular rod is lower, representing the dysplastic region. The depth of the rectangular wire is swept. (b) The dependence betweewn the depth of the dysplastic region and the fluorescence contrast signal. The red dashed line illustrates an exponential fitting of the simulation results. (c) The measured fluorescence signal for each depth value with an increasing depth from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that the fluorescence contrast signal decreases as the depth increases, which agrees with intuition. As for a deeper location inside the skin, it takes farther distance for the fluorescent light to travel out, therefore the distortion introduced by the scattering events as the light propagates through the skin tissue is stronger. In addition, the attenuation from both scattering and absorption is stronger as well, which further reduces the SNR. For depth greater than 0.1 mm, the contrast signal strength is nearly vanishing.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the FAD Concentration Difference ===&lt;br /&gt;
Similarly, the strength of the contrast signal should also be a function of the concentration difference of FAD between the dysplastic and the healthy tissue. The geometry is again defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm, the thickness to 0.1 mm, and the depth is set to 0.04 mm. The volumetric concentration of FAD in the healthy region is fixed to 0.2 while the FAD concentration in the dysplastic region is varied from 0 to 0.2. &lt;br /&gt;
&lt;br /&gt;
[[File:results32_updated.png|700px|thumb|center| (a,c) Schematic of the geometry, (a) has a shallower dysplastic region while it is deeper in (c). The FAD concentration inside the rectangular rod is swept. (b,d) The dependence betweewn the concentration difference and the fluorescence contrast signal. (c) The measured fluorescence signal for each concentration value with a decreasing concentration contrast from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that for 0.04 mm as the depth, the fluorescence contrast signal is linearly proportional to the FAD concentration difference, which again agrees with intuition. The concentration difference determines the distribution in the number of fluorescence emitter, which is equivalent to the source and directly proportional to the fluorescence intensity. When increasing the depth of the rectangular wire to 0.1 mm, again the linear dependence is shown however with an overall lower amplitude, representing the decrease in the number of fluorescence emitter.&lt;br /&gt;
&lt;br /&gt;
=== Image Quality and Simulation Limitations  ===&lt;br /&gt;
Optical Monte Carlo simulations, while powerful and versatile, are computationally demanding due to the nature of light propagation and the need to model a vast number of photon trajectories. The computational expense arises from the necessity to track individual photon interactions and their probabilistic behavior as they scatter, absorb, and move through the medium.  Modeling three-dimensional environments adds complexity, as simulations must account for photon movements in all spatial directions within the medium. To illustrate this, a regular high performance laptop were able to simulate about 10&amp;lt;math&amp;gt;^6&amp;lt;/math&amp;gt; photons per minute, while a 1mW light source at 400 nm emits 10&amp;lt;math&amp;gt;^{15}&amp;lt;/math&amp;gt; photons per second. This can be a problem when trying to model realistic scenarios with low signal to noise. Figure 5 shows a set of images of an embedded dysplastic lesion in healthy tissue, with varying number of simulated photons. &lt;br /&gt;
&lt;br /&gt;
[[File:images_SImTime.png|700px|thumb|center| Image quality as a function of simulation number of photons simulated. Top) Collected images of an embedded dysplastic lesion inside healthy tissue. Bottom) Cross section of the image intensity.  ]]&lt;br /&gt;
&lt;br /&gt;
== Conclusions ==&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
You can write math equations as follows:&lt;br /&gt;
&amp;lt;math&amp;gt;y = x^2 + 5 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can include images as follows (you will need to upload the image first using the toolbox on the left bar, using the &amp;quot;Upload file&amp;quot; link).&lt;br /&gt;
&lt;br /&gt;
[[File:Snip 20210106183207.png|200px]]&lt;/div&gt;</summary>
		<author><name>Bohan</name></author>
	</entry>
	<entry>
		<id>http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=33783</id>
		<title>Medical imaging: Simulations of reflectance and fluorescence of human tissue</title>
		<link rel="alternate" type="text/html" href="http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=33783"/>
		<updated>2023-12-18T06:58:48Z</updated>

		<summary type="html">&lt;p&gt;Bohan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
=== Optical Processes in Skin Tissue ===&lt;br /&gt;
When shining light into the skin, there are multiple light-matter interaction processes happening simultaneously, including reflection, absorption, scattering, and fluorescence as depicted in the figure below. &lt;br /&gt;
&lt;br /&gt;
The key process in this study is fluorescence. When short wavelength photon is absorbed, the material will re-emit photon at a longer wavelength and smaller energy. In the epidermis layer of the skin tissue, there are two fluorescence molecules, FAD and NADH, which are related to metabolic activities of cells. By measuring the fluorescence activities, one can monitor the localized concentration of FAD and NADH in the epidermis layer, therefore acquiring early signs on potnetial dysplasia. To model the fluorescence activities in the epidermis layer, the fluorophore is assumed to be uniformly distributed in the epidermis layer as a solution while the dysplastic region can be regarded as some localized volume with a different concentration comparing to the surrounding medium. &lt;br /&gt;
&lt;br /&gt;
Reflection refers to the back-scatter of photon at the interface between different materials when the index of refraction changes. Since the main composition of human skin is water, the variation of index of refraction is minor therefore there is negligible amount of reflection inside human skin. The strongest reflection happens at the surface of skin where photon hits the skin tissue from air. This can result in a spectral reduction of the number of photons actually entering into the skin, which results in a reduction in the actual fluorescence signal strength. &lt;br /&gt;
&lt;br /&gt;
Absorption is an intrinsic property of light-matter interaction where the amplitude of electromagnetic field attenuates as propagating. The absorption in a solution can be quatitatively described using the Beer-Lambert law, where the intensity of light decay exponentially as it travels in the absorptive medium. The decay rate is characterized by the absorption coefficient &amp;lt;math&amp;gt; \mu_\alpha &amp;lt;/math&amp;gt; which is a function of the solvend absorpsivity and its concentration. In human skin tissue, the total amount of absorption can be decomposed into several different components, including absorption from water, fat, melanin, and blood content, which can be cast by an empirical equation [REF]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; mu_{\alpha} =BS\mu_{\alpha,oxy} + B (1-S) \mu_{\alpha,deoxy} + W\mu_{\alpha,water} + F\mu_{\alpha,fat} + M\mu_{\alpha,melanosome} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The scattering process refers to the change in the direction of motion when the photon interacts with the material (mainly the nuclei). In the actual scenario of fluorescence detection, the scattering process can result in two consequences including the attenuation of number of photons in the forward propagating direction, and introducing distortion to the localized signal. The second consequence is the critical factor of reducing the signal to noise ratio, as the localized signal from the dysplasia is smeared by the uncertain scattering processes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Methods ==&lt;br /&gt;
&lt;br /&gt;
=== Monte Carlo Simulation ===&lt;br /&gt;
Due to the randomness nature of the scattering process and absorption process related to skin tissue, the optimal approach to simulate the optical behavior is to use Monte Carlo simuilation. Monte Carlo algorithm is a computationally algorithm that&lt;br /&gt;
&lt;br /&gt;
=== MCMatlab ===&lt;br /&gt;
&lt;br /&gt;
=== Equivalent Model of Fluorophore Solution ===&lt;br /&gt;
If considering the activities in the epidermis layer, when illuminated by blue light pump beam, absorption will happen in both the tissue and the FAD, which is described by a single quatity, the absorptivity &amp;lt;math&amp;gt; \mu_\alpha &amp;lt;/math&amp;gt;. In addition, FAD fluorescence is excited, and the fluorescence intensity is determined by the amount of blue photon absorbed by the FAD molecules. However, under regular material definition inside the simulation, it is impossible to separate the absorption by FAD from the absorption from the surrounding tissue, such that the actual fluorescence intensity will be inaccurate. &lt;br /&gt;
&lt;br /&gt;
[[File:model.png|400px|thumb|center|The multilayer model for fluorescence Monte Carlo simulation. ]]&lt;br /&gt;
&lt;br /&gt;
Here, the problem is solved by a multilayer model where the FAD molecules are collected into thin slabs distributed inside the medium. In this case, two different materials can be assigned and the absorption of FAD and surrounding tissue can be separated. However, by reshaping the geometry, the material absorpsivity will be correspondingly modified. Below, the equivalent absorptivity is derived to correct for this change. &lt;br /&gt;
&lt;br /&gt;
The total optical absorption can be described as:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \propto \int dV (-J)\cdot E = \int dV (-i\omega\varepsilon_0 \chi |E|^2) = \int dV \omega\varepsilon_0 \chi&#039;&#039; |E|^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;J&amp;lt;/math&amp;gt; is the current density, &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; is the electric field, &amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; is the angular frequency of light, &amp;lt;math&amp;gt; \varepsilon_0&amp;lt;/math&amp;gt;  is the free space electric permittivity, &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  is the material susceptibility, and &amp;lt;math&amp;gt;\chi&#039;&#039;&amp;lt;/math&amp;gt; is the imaginary part of &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  representing the optical absorption of a certain material. Under the representation of Beer-Lambert law, the electric field penetrating in the skin can be described as an exponential decay: &amp;lt;math&amp;gt; E = E_0 \exp(-\mu_\alpha z) &amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; is the material absorpsivity in the unit of [cm]&amp;lt;math&amp;gt;^{-1}&amp;lt;/math&amp;gt;. Substituting the exponentially decaying electric field into the absorption expression and applying our one-dimensional multilayer geometry: &lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \cong A \int dz \exp(-2\mu_\alpha z) = A\frac{1-\exp(-2\mu_\alpha L_z)}{2\mu_\alpha} &amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;L_z&amp;lt;/math&amp;gt; is the total length in z direction. To have the same amount of absorption in the fluorophore when using the multilayer model, we need to equivalently adjust the optical property &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; of the material to balance the effect of shrinking the volume occupied by the fluorophore. Gathering the fluorophore into a thin slab centered at &amp;lt;math&amp;gt;L_z/2&amp;lt;/math&amp;gt;, the absorption here is:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt;  \cong A \int_{L_z/2-\Delta{z}/2}^{L_z/2+\Delta{z}/2} dz \exp(-2\mu_\alpha&#039; z)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; = A\frac{\exp(-\mu_\alpha&#039;L_z)(\exp(\mu_\alpha&#039;\Delta{z})-\exp(-\mu_\alpha&#039;\Delta{z}))}{2\mu_\alpha&#039;}\cong A\exp(-\mu_\alpha&#039;L_z)\Delta{z}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Equaling the absorption and assuming the absorpsivity of FAD is small (&amp;lt;math&amp;gt;\mu_\alpha L_z\ll1&amp;lt;/math&amp;gt;), one can extract an approximate expression for the equivalent absorpsivity:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;    \mu_\alpha&#039; = \frac{1}{L_z}\log(\frac{L_z}{\Delta{z}}). &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using the equivalent absorpsivity correction, the total absorption is the same. In addition, the blue photon absorbed by FAD will result in the fluorescence emission, such that the correct FAD fluorescence activity can be simulated.&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
&lt;br /&gt;
The properties of the dysplastic region directly determines the fluorescence signal. Here, the properties refer to the geometry size, shape, the fluorophore concentration, and the location inside the skin tissue. Below, we will carry out a few computational and numerical experiments to qualitatively describe the dependence between the fluorescence signal strength and these factors. The simulation is conducted based on MCMatlab Fluorescence Monte Carlo simulation package. &lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Width ===&lt;br /&gt;
[[File:results1_updated.png|700px|thumb|center| (a) Schematic of the geometry, which is defined as a one-dimensional variation in FAD concentration with a low concentration at the central part representing the dysplastic region. (b) The actual fluorescence signal measured as a function of x position. The contrast signal is extracted as the ratio between the magnitude of the dip and the maximum signal level. (c) The dependence betweewn the width of the dysplastic region and the fluorescence contrast signal. (d) The measured fluorescence signal for each width value with an increasing width from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
For the first study, the simulated geometry is defined as a one-dimensional concentration variation in &amp;quot;x&amp;quot; as shown in the figure above with a lower FAD concentration at the central region representing the dysplastic region. The width of the dysplastic region is swept and the output fluorescence contrast signal is measured. It is shown that the contrast signal first goes up, then saturates at w~0.35 mm. At small width values, the signals are mixed up from the two edges where the concentration changes sharply, so that one cannot resolve the full contrast signal. When the two edges are separated sufficiently far, the full signal can be resolved, giving a relative fluorescence contrast as 0.3.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Depth ===&lt;br /&gt;
Next, the qualitative relation is studied between the depth of the dysplastic region inside the skin and the fluorescence contrast signal. In this case, the geometry is defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm and the thickness to 0.1 mm. The depth is set as the swept parameter, and it is defined as the distance between the top surface of the epidermis layer and the top surface of the rectangular wire. &lt;br /&gt;
&lt;br /&gt;
[[File:results2_updated.png|450px|thumb|center| (a) Schematic of the geometry, where the FAD concentration inside the rectangular rod is lower, representing the dysplastic region. The depth of the rectangular wire is swept. (b) The dependence betweewn the depth of the dysplastic region and the fluorescence contrast signal. The red dashed line illustrates an exponential fitting of the simulation results. (c) The measured fluorescence signal for each depth value with an increasing depth from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that the fluorescence contrast signal decreases as the depth increases, which agrees with intuition. As for a deeper location inside the skin, it takes farther distance for the fluorescent light to travel out, therefore the distortion introduced by the scattering events as the light propagates through the skin tissue is stronger. In addition, the attenuation from both scattering and absorption is stronger as well, which further reduces the SNR. For depth greater than 0.1 mm, the contrast signal strength is nearly vanishing.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the FAD Concentration Difference ===&lt;br /&gt;
Similarly, the strength of the contrast signal should also be a function of the concentration difference of FAD between the dysplastic and the healthy tissue. The geometry is again defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm, the thickness to 0.1 mm, and the depth is set to 0.04 mm. The volumetric concentration of FAD in the healthy region is fixed to 0.2 while the FAD concentration in the dysplastic region is varied from 0 to 0.2. &lt;br /&gt;
&lt;br /&gt;
[[File:results32_updated.png|700px|thumb|center| (a,c) Schematic of the geometry, (a) has a shallower dysplastic region while it is deeper in (c). The FAD concentration inside the rectangular rod is swept. (b,d) The dependence betweewn the concentration difference and the fluorescence contrast signal. (c) The measured fluorescence signal for each concentration value with a decreasing concentration contrast from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that for 0.04 mm as the depth, the fluorescence contrast signal is linearly proportional to the FAD concentration difference, which again agrees with intuition. The concentration difference determines the distribution in the number of fluorescence emitter, which is equivalent to the source and directly proportional to the fluorescence intensity. When increasing the depth of the rectangular wire to 0.1 mm, again the linear dependence is shown however with an overall lower amplitude, representing the decrease in the number of fluorescence emitter.&lt;br /&gt;
&lt;br /&gt;
== Conclusions ==&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
You can write math equations as follows:&lt;br /&gt;
&amp;lt;math&amp;gt;y = x^2 + 5 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can include images as follows (you will need to upload the image first using the toolbox on the left bar, using the &amp;quot;Upload file&amp;quot; link).&lt;br /&gt;
&lt;br /&gt;
[[File:Snip 20210106183207.png|200px]]&lt;/div&gt;</summary>
		<author><name>Bohan</name></author>
	</entry>
	<entry>
		<id>http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=33780</id>
		<title>Medical imaging: Simulations of reflectance and fluorescence of human tissue</title>
		<link rel="alternate" type="text/html" href="http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=33780"/>
		<updated>2023-12-18T06:51:13Z</updated>

		<summary type="html">&lt;p&gt;Bohan: /* Background */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
=== Optical Processes in Skin Tissue ===&lt;br /&gt;
When shining light into the skin, there are multiple light-matter interaction processes happening simultaneously, including reflection, absorption, scattering, and fluorescence as depicted in the figure below. &lt;br /&gt;
&lt;br /&gt;
The key process in this study is fluorescence. When short wavelength photon is absorbed, the material will re-emit photon at a longer wavelength and smaller energy. In the epidermis layer of the skin tissue, there are two fluorescence molecules, FAD and NADH, which are related to metabolic activities of cells. By measuring the fluorescence activities, one can monitor the localized concentration of FAD and NADH in the epidermis layer, therefore acquiring early signs on potnetial dysplasia. To model the fluorescence activities in the epidermis layer, the FAD is assumed to be uniformly distributed in the layer while the dysplastic region can be regarded as some localized volume with a different concentration comparing to the surrounding medium. &lt;br /&gt;
&lt;br /&gt;
Reflection refers to the back-scatter of photon at the interface between different materials when the index of refraction changes. Since the main composition of human skin is water, the variation of index of refraction is minor therefore there is negligible amount of reflection inside human skin. The strongest reflection happens at the surface of skin where photon hits the skin tissue from air. This can result in a spectral reduction of the number of photons actually entering into the skin, which results in a reduction in the actual fluorescence signal strength. &lt;br /&gt;
&lt;br /&gt;
Absorption is an intrinsic property of light-matter interaction where the amplitude of electromagnetic field attenuates as propagating. The absorption in a solution can be quatitatively described using the Beer-Lambert law, where the intensity of light decay exponentially as it travels in the absorptive medium. The decay rate is characterized by the absorption coefficient &amp;lt;math&amp;gt; \mu_\alpha &amp;lt;/math&amp;gt; which is a function of the solvend absorpsivity and its concentration. In human skin tissue, the total amount of absorption can be decomposed into several different components, including absorption from water, fat, melanin, and blood content, which can be cast by an empirical equation [REF]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; mu_{\alpha} =BS\mu_{\alpha,oxy} + B (1-S) \mu_{\alpha,deoxy} + W\mu_{\alpha,water} + F\mu_{\alpha,fat} + M\mu_{\alpha,melanosome} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The scattering process refers to the change in the direction of motion when the photon interacts with the material (mainly the nuclei). In the actual scenario of fluorescence detection, the scattering process can result in two consequences including the attenuation of number of photons in the forward propagating direction, and introducing distortion to the localized signal. The second consequence is the critical factor of reducing the signal to noise ratio, as the localized signal from the dysplasia is smeared by the uncertain scattering processes.&lt;br /&gt;
&lt;br /&gt;
Combining the above mentioned processes,&lt;br /&gt;
&lt;br /&gt;
== Methods ==&lt;br /&gt;
&lt;br /&gt;
=== Monte Carlo Simulation ===&lt;br /&gt;
Due to the randomness nature of the scattering process and absorption process related to skin tissue, the optimal approach to simulate the optical behavior is to use Monte Carlo simuilation. Monte Carlo algorithm is a computationally algorithm that&lt;br /&gt;
&lt;br /&gt;
=== MCMatlab ===&lt;br /&gt;
&lt;br /&gt;
=== Equivalent Model of Fluorophore Solution ===&lt;br /&gt;
If considering the activities in the epidermis layer, when illuminated by blue light pump beam, absorption will happen in both the tissue and the FAD, which is described by a single quatity, the absorptivity &amp;lt;math&amp;gt; \mu_\alpha &amp;lt;/math&amp;gt;. In addition, FAD fluorescence is excited, and the fluorescence intensity is determined by the amount of blue photon absorbed by the FAD molecules. However, under regular material definition inside the simulation, it is impossible to separate the absorption by FAD from the absorption from the surrounding tissue, such that the actual fluorescence intensity will be inaccurate. &lt;br /&gt;
&lt;br /&gt;
[[File:model.png|400px|thumb|center|The multilayer model for fluorescence Monte Carlo simulation. ]]&lt;br /&gt;
&lt;br /&gt;
Here, the problem is solved by a multilayer model where the FAD molecules are collected into thin slabs distributed inside the medium. In this case, two different materials can be assigned and the absorption of FAD and surrounding tissue can be separated. However, by reshaping the geometry, the material absorpsivity will be correspondingly modified. Below, the equivalent absorptivity is derived to correct for this change. &lt;br /&gt;
&lt;br /&gt;
The total optical absorption can be described as:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \propto \int dV (-J)\cdot E = \int dV (-i\omega\varepsilon_0 \chi |E|^2) = \int dV \omega\varepsilon_0 \chi&#039;&#039; |E|^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;J&amp;lt;/math&amp;gt; is the current density, &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; is the electric field, &amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; is the angular frequency of light, &amp;lt;math&amp;gt; \varepsilon_0&amp;lt;/math&amp;gt;  is the free space electric permittivity, &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  is the material susceptibility, and &amp;lt;math&amp;gt;\chi&#039;&#039;&amp;lt;/math&amp;gt; is the imaginary part of &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  representing the optical absorption of a certain material. Under the representation of Beer-Lambert law, the electric field penetrating in the skin can be described as an exponential decay: &amp;lt;math&amp;gt; E = E_0 \exp(-\mu_\alpha z) &amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; is the material absorpsivity in the unit of [cm]&amp;lt;math&amp;gt;^{-1}&amp;lt;/math&amp;gt;. Substituting the exponentially decaying electric field into the absorption expression and applying our one-dimensional multilayer geometry: &lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \cong A \int dz \exp(-2\mu_\alpha z) = A\frac{1-\exp(-2\mu_\alpha L_z)}{2\mu_\alpha} &amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;L_z&amp;lt;/math&amp;gt; is the total length in z direction. To have the same amount of absorption in the fluorophore when using the multilayer model, we need to equivalently adjust the optical property &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; of the material to balance the effect of shrinking the volume occupied by the fluorophore. Gathering the fluorophore into a thin slab centered at &amp;lt;math&amp;gt;L_z/2&amp;lt;/math&amp;gt;, the absorption here is:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt;  \cong A \int_{L_z/2-\Delta{z}/2}^{L_z/2+\Delta{z}/2} dz \exp(-2\mu_\alpha&#039; z)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; = A\frac{\exp(-\mu_\alpha&#039;L_z)(\exp(\mu_\alpha&#039;\Delta{z})-\exp(-\mu_\alpha&#039;\Delta{z}))}{2\mu_\alpha&#039;}\cong A\exp(-\mu_\alpha&#039;L_z)\Delta{z}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Equaling the absorption and assuming the absorpsivity of FAD is small (&amp;lt;math&amp;gt;\mu_\alpha L_z\ll1&amp;lt;/math&amp;gt;), one can extract an approximate expression for the equivalent absorpsivity:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;    \mu_\alpha&#039; = \frac{1}{L_z}\log(\frac{L_z}{\Delta{z}}). &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using the equivalent absorpsivity correction, the total absorption is the same. In addition, the blue photon absorbed by FAD will result in the fluorescence emission, such that the correct FAD fluorescence activity can be simulated.&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
&lt;br /&gt;
The properties of the dysplastic region directly determines the fluorescence signal. Here, the properties refer to the geometry size, shape, the fluorophore concentration, and the location inside the skin tissue. Below, we will carry out a few computational and numerical experiments to qualitatively describe the dependence between the fluorescence signal strength and these factors. The simulation is conducted based on MCMatlab Fluorescence Monte Carlo simulation package. &lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Width ===&lt;br /&gt;
[[File:results1_updated.png|700px|thumb|center| (a) Schematic of the geometry, which is defined as a one-dimensional variation in FAD concentration with a low concentration at the central part representing the dysplastic region. (b) The actual fluorescence signal measured as a function of x position. The contrast signal is extracted as the ratio between the magnitude of the dip and the maximum signal level. (c) The dependence betweewn the width of the dysplastic region and the fluorescence contrast signal. (d) The measured fluorescence signal for each width value with an increasing width from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
For the first study, the simulated geometry is defined as a one-dimensional concentration variation in &amp;quot;x&amp;quot; as shown in the figure above with a lower FAD concentration at the central region representing the dysplastic region. The width of the dysplastic region is swept and the output fluorescence contrast signal is measured. It is shown that the contrast signal first goes up, then saturates at w~0.35 mm. At small width values, the signals are mixed up from the two edges where the concentration changes sharply, so that one cannot resolve the full contrast signal. When the two edges are separated sufficiently far, the full signal can be resolved, giving a relative fluorescence contrast as 0.3.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Depth ===&lt;br /&gt;
Next, the qualitative relation is studied between the depth of the dysplastic region inside the skin and the fluorescence contrast signal. In this case, the geometry is defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm and the thickness to 0.1 mm. The depth is set as the swept parameter, and it is defined as the distance between the top surface of the epidermis layer and the top surface of the rectangular wire. &lt;br /&gt;
&lt;br /&gt;
[[File:results2_updated.png|450px|thumb|center| (a) Schematic of the geometry, where the FAD concentration inside the rectangular rod is lower, representing the dysplastic region. The depth of the rectangular wire is swept. (b) The dependence betweewn the depth of the dysplastic region and the fluorescence contrast signal. The red dashed line illustrates an exponential fitting of the simulation results. (c) The measured fluorescence signal for each depth value with an increasing depth from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that the fluorescence contrast signal decreases as the depth increases, which agrees with intuition. As for a deeper location inside the skin, it takes farther distance for the fluorescent light to travel out, therefore the distortion introduced by the scattering events as the light propagates through the skin tissue is stronger. In addition, the attenuation from both scattering and absorption is stronger as well, which further reduces the SNR. For depth greater than 0.1 mm, the contrast signal strength is nearly vanishing.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the FAD Concentration Difference ===&lt;br /&gt;
Similarly, the strength of the contrast signal should also be a function of the concentration difference of FAD between the dysplastic and the healthy tissue. The geometry is again defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm, the thickness to 0.1 mm, and the depth is set to 0.04 mm. The volumetric concentration of FAD in the healthy region is fixed to 0.2 while the FAD concentration in the dysplastic region is varied from 0 to 0.2. &lt;br /&gt;
&lt;br /&gt;
[[File:results32_updated.png|700px|thumb|center| (a,c) Schematic of the geometry, (a) has a shallower dysplastic region while it is deeper in (c). The FAD concentration inside the rectangular rod is swept. (b,d) The dependence betweewn the concentration difference and the fluorescence contrast signal. (c) The measured fluorescence signal for each concentration value with a decreasing concentration contrast from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that for 0.04 mm as the depth, the fluorescence contrast signal is linearly proportional to the FAD concentration difference, which again agrees with intuition. The concentration difference determines the distribution in the number of fluorescence emitter, which is equivalent to the source and directly proportional to the fluorescence intensity. When increasing the depth of the rectangular wire to 0.1 mm, again the linear dependence is shown however with an overall lower amplitude, representing the decrease in the number of fluorescence emitter.&lt;br /&gt;
&lt;br /&gt;
== Conclusions ==&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
You can write math equations as follows:&lt;br /&gt;
&amp;lt;math&amp;gt;y = x^2 + 5 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can include images as follows (you will need to upload the image first using the toolbox on the left bar, using the &amp;quot;Upload file&amp;quot; link).&lt;br /&gt;
&lt;br /&gt;
[[File:Snip 20210106183207.png|200px]]&lt;/div&gt;</summary>
		<author><name>Bohan</name></author>
	</entry>
	<entry>
		<id>http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=33779</id>
		<title>Medical imaging: Simulations of reflectance and fluorescence of human tissue</title>
		<link rel="alternate" type="text/html" href="http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=33779"/>
		<updated>2023-12-18T06:50:47Z</updated>

		<summary type="html">&lt;p&gt;Bohan: /* Optical Processes in Skin Tissue */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
=== Optical Processes in Skin Tissue ===&lt;br /&gt;
When shining light into the skin, there are multiple light-matter interaction processes happening simultaneously, including reflection, absorption, scattering, and fluorescence as depicted in the figure below. &lt;br /&gt;
&lt;br /&gt;
The key process in this study is fluorescence. When short wavelength photon is absorbed, the material will re-emit photon at a longer wavelength and smaller energy. In the epidermis layer of the skin tissue, there are two fluorescence molecules, FAD and NADH, which are related to metabolic activities of cells. By measuring the fluorescence activities, one can monitor the localized concentration of FAD and NADH in the epidermis layer, therefore acquiring early signs on potnetial dysplasia. To model the fluorescence activities in the epidermis layer, the FAD is assumed to be uniformly distributed in the layer while the dysplastic region can be regarded as some localized volume with a different concentration comparing to the surrounding medium. &lt;br /&gt;
&lt;br /&gt;
Reflection refers to the back-scatter of photon at the interface between different materials when the index of refraction changes. Since the main composition of human skin is water, the variation of index of refraction is minor therefore there is negligible amount of reflection inside human skin. The strongest reflection happens at the surface of skin where photon hits the skin tissue from air. This can result in a spectral reduction of the number of photons actually entering into the skin, which results in a reduction in the actual fluorescence signal strength. &lt;br /&gt;
&lt;br /&gt;
Absorption is an intrinsic property of light-matter interaction where the amplitude of electromagnetic field attenuates as propagating. The absorption in a solution can be quatitatively described using the Beer-Lambert law, where the intensity of light decay exponentially as it travels in the absorptive medium. The decay rate is characterized by the absorption coefficient &amp;lt;math&amp;gt; \mu_\alpha &amp;lt;math/&amp;gt; which is a function of the solvend absorpsivity and its concentration. In human skin tissue, the total amount of absorption can be decomposed into several different components, including absorption from water, fat, melanin, and blood content, which can be cast by an empirical equation [REF]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; mu_{\alpha} =BS\mu_{\alpha,oxy} + B (1-S) \mu_{\alpha,deoxy} + W\mu_{\alpha,water} + F\mu_{\alpha,fat} + M\mu_{\alpha,melanosome} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The scattering process refers to the change in the direction of motion when the photon interacts with the material (mainly the nuclei). In the actual scenario of fluorescence detection, the scattering process can result in two consequences including the attenuation of number of photons in the forward propagating direction, and introducing distortion to the localized signal. The second consequence is the critical factor of reducing the signal to noise ratio, as the localized signal from the dysplasia is smeared by the uncertain scattering processes.&lt;br /&gt;
&lt;br /&gt;
Combining the above mentioned processes,&lt;br /&gt;
&lt;br /&gt;
== Methods ==&lt;br /&gt;
&lt;br /&gt;
=== Monte Carlo Simulation ===&lt;br /&gt;
Due to the randomness nature of the scattering process and absorption process related to skin tissue, the optimal approach to simulate the optical behavior is to use Monte Carlo simuilation. Monte Carlo algorithm is a computationally algorithm that&lt;br /&gt;
&lt;br /&gt;
=== MCMatlab ===&lt;br /&gt;
&lt;br /&gt;
=== Equivalent Model of Fluorophore Solution ===&lt;br /&gt;
If considering the activities in the epidermis layer, when illuminated by blue light pump beam, absorption will happen in both the tissue and the FAD, which is described by a single quatity, the absorptivity &amp;lt;math&amp;gt; \mu_\alpha &amp;lt;/math&amp;gt;. In addition, FAD fluorescence is excited, and the fluorescence intensity is determined by the amount of blue photon absorbed by the FAD molecules. However, under regular material definition inside the simulation, it is impossible to separate the absorption by FAD from the absorption from the surrounding tissue, such that the actual fluorescence intensity will be inaccurate. &lt;br /&gt;
&lt;br /&gt;
[[File:model.png|400px|thumb|center|The multilayer model for fluorescence Monte Carlo simulation. ]]&lt;br /&gt;
&lt;br /&gt;
Here, the problem is solved by a multilayer model where the FAD molecules are collected into thin slabs distributed inside the medium. In this case, two different materials can be assigned and the absorption of FAD and surrounding tissue can be separated. However, by reshaping the geometry, the material absorpsivity will be correspondingly modified. Below, the equivalent absorptivity is derived to correct for this change. &lt;br /&gt;
&lt;br /&gt;
The total optical absorption can be described as:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \propto \int dV (-J)\cdot E = \int dV (-i\omega\varepsilon_0 \chi |E|^2) = \int dV \omega\varepsilon_0 \chi&#039;&#039; |E|^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;J&amp;lt;/math&amp;gt; is the current density, &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; is the electric field, &amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; is the angular frequency of light, &amp;lt;math&amp;gt; \varepsilon_0&amp;lt;/math&amp;gt;  is the free space electric permittivity, &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  is the material susceptibility, and &amp;lt;math&amp;gt;\chi&#039;&#039;&amp;lt;/math&amp;gt; is the imaginary part of &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  representing the optical absorption of a certain material. Under the representation of Beer-Lambert law, the electric field penetrating in the skin can be described as an exponential decay: &amp;lt;math&amp;gt; E = E_0 \exp(-\mu_\alpha z) &amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; is the material absorpsivity in the unit of [cm]&amp;lt;math&amp;gt;^{-1}&amp;lt;/math&amp;gt;. Substituting the exponentially decaying electric field into the absorption expression and applying our one-dimensional multilayer geometry: &lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \cong A \int dz \exp(-2\mu_\alpha z) = A\frac{1-\exp(-2\mu_\alpha L_z)}{2\mu_\alpha} &amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;L_z&amp;lt;/math&amp;gt; is the total length in z direction. To have the same amount of absorption in the fluorophore when using the multilayer model, we need to equivalently adjust the optical property &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; of the material to balance the effect of shrinking the volume occupied by the fluorophore. Gathering the fluorophore into a thin slab centered at &amp;lt;math&amp;gt;L_z/2&amp;lt;/math&amp;gt;, the absorption here is:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt;  \cong A \int_{L_z/2-\Delta{z}/2}^{L_z/2+\Delta{z}/2} dz \exp(-2\mu_\alpha&#039; z)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; = A\frac{\exp(-\mu_\alpha&#039;L_z)(\exp(\mu_\alpha&#039;\Delta{z})-\exp(-\mu_\alpha&#039;\Delta{z}))}{2\mu_\alpha&#039;}\cong A\exp(-\mu_\alpha&#039;L_z)\Delta{z}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Equaling the absorption and assuming the absorpsivity of FAD is small (&amp;lt;math&amp;gt;\mu_\alpha L_z\ll1&amp;lt;/math&amp;gt;), one can extract an approximate expression for the equivalent absorpsivity:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;    \mu_\alpha&#039; = \frac{1}{L_z}\log(\frac{L_z}{\Delta{z}}). &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using the equivalent absorpsivity correction, the total absorption is the same. In addition, the blue photon absorbed by FAD will result in the fluorescence emission, such that the correct FAD fluorescence activity can be simulated.&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
&lt;br /&gt;
The properties of the dysplastic region directly determines the fluorescence signal. Here, the properties refer to the geometry size, shape, the fluorophore concentration, and the location inside the skin tissue. Below, we will carry out a few computational and numerical experiments to qualitatively describe the dependence between the fluorescence signal strength and these factors. The simulation is conducted based on MCMatlab Fluorescence Monte Carlo simulation package. &lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Width ===&lt;br /&gt;
[[File:results1_updated.png|700px|thumb|center| (a) Schematic of the geometry, which is defined as a one-dimensional variation in FAD concentration with a low concentration at the central part representing the dysplastic region. (b) The actual fluorescence signal measured as a function of x position. The contrast signal is extracted as the ratio between the magnitude of the dip and the maximum signal level. (c) The dependence betweewn the width of the dysplastic region and the fluorescence contrast signal. (d) The measured fluorescence signal for each width value with an increasing width from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
For the first study, the simulated geometry is defined as a one-dimensional concentration variation in &amp;quot;x&amp;quot; as shown in the figure above with a lower FAD concentration at the central region representing the dysplastic region. The width of the dysplastic region is swept and the output fluorescence contrast signal is measured. It is shown that the contrast signal first goes up, then saturates at w~0.35 mm. At small width values, the signals are mixed up from the two edges where the concentration changes sharply, so that one cannot resolve the full contrast signal. When the two edges are separated sufficiently far, the full signal can be resolved, giving a relative fluorescence contrast as 0.3.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Depth ===&lt;br /&gt;
Next, the qualitative relation is studied between the depth of the dysplastic region inside the skin and the fluorescence contrast signal. In this case, the geometry is defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm and the thickness to 0.1 mm. The depth is set as the swept parameter, and it is defined as the distance between the top surface of the epidermis layer and the top surface of the rectangular wire. &lt;br /&gt;
&lt;br /&gt;
[[File:results2_updated.png|450px|thumb|center| (a) Schematic of the geometry, where the FAD concentration inside the rectangular rod is lower, representing the dysplastic region. The depth of the rectangular wire is swept. (b) The dependence betweewn the depth of the dysplastic region and the fluorescence contrast signal. The red dashed line illustrates an exponential fitting of the simulation results. (c) The measured fluorescence signal for each depth value with an increasing depth from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that the fluorescence contrast signal decreases as the depth increases, which agrees with intuition. As for a deeper location inside the skin, it takes farther distance for the fluorescent light to travel out, therefore the distortion introduced by the scattering events as the light propagates through the skin tissue is stronger. In addition, the attenuation from both scattering and absorption is stronger as well, which further reduces the SNR. For depth greater than 0.1 mm, the contrast signal strength is nearly vanishing.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the FAD Concentration Difference ===&lt;br /&gt;
Similarly, the strength of the contrast signal should also be a function of the concentration difference of FAD between the dysplastic and the healthy tissue. The geometry is again defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm, the thickness to 0.1 mm, and the depth is set to 0.04 mm. The volumetric concentration of FAD in the healthy region is fixed to 0.2 while the FAD concentration in the dysplastic region is varied from 0 to 0.2. &lt;br /&gt;
&lt;br /&gt;
[[File:results32_updated.png|700px|thumb|center| (a,c) Schematic of the geometry, (a) has a shallower dysplastic region while it is deeper in (c). The FAD concentration inside the rectangular rod is swept. (b,d) The dependence betweewn the concentration difference and the fluorescence contrast signal. (c) The measured fluorescence signal for each concentration value with a decreasing concentration contrast from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that for 0.04 mm as the depth, the fluorescence contrast signal is linearly proportional to the FAD concentration difference, which again agrees with intuition. The concentration difference determines the distribution in the number of fluorescence emitter, which is equivalent to the source and directly proportional to the fluorescence intensity. When increasing the depth of the rectangular wire to 0.1 mm, again the linear dependence is shown however with an overall lower amplitude, representing the decrease in the number of fluorescence emitter.&lt;br /&gt;
&lt;br /&gt;
== Conclusions ==&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
You can write math equations as follows:&lt;br /&gt;
&amp;lt;math&amp;gt;y = x^2 + 5 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can include images as follows (you will need to upload the image first using the toolbox on the left bar, using the &amp;quot;Upload file&amp;quot; link).&lt;br /&gt;
&lt;br /&gt;
[[File:Snip 20210106183207.png|200px]]&lt;/div&gt;</summary>
		<author><name>Bohan</name></author>
	</entry>
	<entry>
		<id>http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=33775</id>
		<title>Medical imaging: Simulations of reflectance and fluorescence of human tissue</title>
		<link rel="alternate" type="text/html" href="http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=33775"/>
		<updated>2023-12-18T06:38:59Z</updated>

		<summary type="html">&lt;p&gt;Bohan: /* Theoretical Model Extraction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
=== Optical Processes in Skin Tissue ===&lt;br /&gt;
When shining light into the skin, there are multiple light-matter interaction processes happening simultaneously, including reflection, absorption, scattering, and fluorescence as depicted in the figure below. &lt;br /&gt;
&lt;br /&gt;
The key process in this study is fluorescence. For certain material, when short wavelength photon is absorbed, it will re-emit photon at a longer wavelength and smaller energy. In the epidermis layer of the skin tissue, there are two fluorescence molecules, FAD and NADH, which are related to metabolic activities of cells. By measuring the fluorescence activities, one can monitor the localized concentration of FAD and NADH in the epidermis layer, therefore acquiring early signs on potnetial dysplasia. To model the fluorescence activities in the epidermis layer, the FAD is assumed to be uniformly distributed in the layer while the dysplastic region can be regarded as some localized volume with a different concentration comparing to the surrounding medium. &lt;br /&gt;
&lt;br /&gt;
Reflection refers to the back-scatter of photon at the interface between different materials when the index of refraction changes. Since the main composition of human skin is water, the variation of index of refraction is minor therefore there is negligible amount of reflection inside human skin. &lt;br /&gt;
&lt;br /&gt;
Absorption is an intrinsic property of light-matter interaction where the amplitude of electromagnetic field attenuates as propagating. In human skin tissue, the total absorption can be decomposed into several different components, including absorption from water, fat, melanin, and blood content, which can be cast by an empirical equation [REF]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; mu_{\alpha} =BS\mu_{\alpha,oxy} + B (1-S) \mu_{\alpha,deoxy} + W\mu_{\alpha,water} + F\mu_{\alpha,fat} + M\mu_{\alpha,melanosome} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The scattering process refers to the change in the direction of motion when the photon interacts with the material (mainly the nuclei). In the actual scenario of fluorescence detection, the scattering process can result in two consequences including the attenuation of number of photons in the forward propagating direction, and introducing distortion to the localized signal. The second consequence is the critical factor of reducing the signal to noise ratio, as the localized signal from the dysplasia is smeared by the uncertain scattering processes.&lt;br /&gt;
&lt;br /&gt;
== Methods ==&lt;br /&gt;
&lt;br /&gt;
=== Monte Carlo Simulation ===&lt;br /&gt;
Due to the randomness nature of the scattering process and absorption process related to skin tissue, the optimal approach to simulate the optical behavior is to use Monte Carlo simuilation. Monte Carlo algorithm is a computationally algorithm that&lt;br /&gt;
&lt;br /&gt;
=== MCMatlab ===&lt;br /&gt;
&lt;br /&gt;
=== Equivalent Model of Fluorophore Solution ===&lt;br /&gt;
If considering the activities in the epidermis layer, when illuminated by blue light pump beam, absorption will happen in both the tissue and the FAD, which is described by a single quatity, the absorptivity &amp;lt;math&amp;gt; \mu_\alpha &amp;lt;/math&amp;gt;. In addition, FAD fluorescence is excited, and the fluorescence intensity is determined by the amount of blue photon absorbed by the FAD molecules. However, under regular material definition inside the simulation, it is impossible to separate the absorption by FAD from the absorption from the surrounding tissue, such that the actual fluorescence intensity will be inaccurate. &lt;br /&gt;
&lt;br /&gt;
[[File:model.png|400px|thumb|center|The multilayer model for fluorescence Monte Carlo simulation. ]]&lt;br /&gt;
&lt;br /&gt;
Here, the problem is solved by a multilayer model where the FAD molecules are collected into thin slabs distributed inside the medium. In this case, two different materials can be assigned and the absorption of FAD and surrounding tissue can be separated. However, by reshaping the geometry, the material absorpsivity will be correspondingly modified. Below, the equivalent absorptivity is derived to correct for this change. &lt;br /&gt;
&lt;br /&gt;
The total optical absorption can be described as:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \propto \int dV (-J)\cdot E = \int dV (-i\omega\varepsilon_0 \chi |E|^2) = \int dV \omega\varepsilon_0 \chi&#039;&#039; |E|^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;J&amp;lt;/math&amp;gt; is the current density, &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; is the electric field, &amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; is the angular frequency of light, &amp;lt;math&amp;gt; \varepsilon_0&amp;lt;/math&amp;gt;  is the free space electric permittivity, &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  is the material susceptibility, and &amp;lt;math&amp;gt;\chi&#039;&#039;&amp;lt;/math&amp;gt; is the imaginary part of &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  representing the optical absorption of a certain material. Under the representation of Beer-Lambert law, the electric field penetrating in the skin can be described as an exponential decay: &amp;lt;math&amp;gt; E = E_0 \exp(-\mu_\alpha z) &amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; is the material absorpsivity in the unit of [cm]&amp;lt;math&amp;gt;^{-1}&amp;lt;/math&amp;gt;. Substituting the exponentially decaying electric field into the absorption expression and applying our one-dimensional multilayer geometry: &lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \cong A \int dz \exp(-2\mu_\alpha z) = A\frac{1-\exp(-2\mu_\alpha L_z)}{2\mu_\alpha} &amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;L_z&amp;lt;/math&amp;gt; is the total length in z direction. To have the same amount of absorption in the fluorophore when using the multilayer model, we need to equivalently adjust the optical property &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; of the material to balance the effect of shrinking the volume occupied by the fluorophore. Gathering the fluorophore into a thin slab centered at &amp;lt;math&amp;gt;L_z/2&amp;lt;/math&amp;gt;, the absorption here is:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt;  \cong A \int_{L_z/2-\Delta{z}/2}^{L_z/2+\Delta{z}/2} dz \exp(-2\mu_\alpha&#039; z)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; = A\frac{\exp(-\mu_\alpha&#039;L_z)(\exp(\mu_\alpha&#039;\Delta{z})-\exp(-\mu_\alpha&#039;\Delta{z}))}{2\mu_\alpha&#039;}\cong A\exp(-\mu_\alpha&#039;L_z)\Delta{z}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Equaling the absorption and assuming the absorpsivity of FAD is small (&amp;lt;math&amp;gt;\mu_\alpha L_z\ll1&amp;lt;/math&amp;gt;), one can extract an approximate expression for the equivalent absorpsivity:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;    \mu_\alpha&#039; = \frac{1}{L_z}\log(\frac{L_z}{\Delta{z}}). &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using the equivalent absorpsivity correction, the total absorption is the same. In addition, the blue photon absorbed by FAD will result in the fluorescence emission, such that the correct FAD fluorescence activity can be simulated.&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
&lt;br /&gt;
The properties of the dysplastic region directly determines the fluorescence signal. Here, the properties refer to the geometry size, shape, the fluorophore concentration, and the location inside the skin tissue. Below, we will carry out a few computational and numerical experiments to qualitatively describe the dependence between the fluorescence signal strength and these factors. The simulation is conducted based on MCMatlab Fluorescence Monte Carlo simulation package. &lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Width ===&lt;br /&gt;
[[File:results1_updated.png|700px|thumb|center| (a) Schematic of the geometry, which is defined as a one-dimensional variation in FAD concentration with a low concentration at the central part representing the dysplastic region. (b) The actual fluorescence signal measured as a function of x position. The contrast signal is extracted as the ratio between the magnitude of the dip and the maximum signal level. (c) The dependence betweewn the width of the dysplastic region and the fluorescence contrast signal. (d) The measured fluorescence signal for each width value with an increasing width from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
For the first study, the simulated geometry is defined as a one-dimensional concentration variation in &amp;quot;x&amp;quot; as shown in the figure above with a lower FAD concentration at the central region representing the dysplastic region. The width of the dysplastic region is swept and the output fluorescence contrast signal is measured. It is shown that the contrast signal first goes up, then saturates at w~0.35 mm. At small width values, the signals are mixed up from the two edges where the concentration changes sharply, so that one cannot resolve the full contrast signal. When the two edges are separated sufficiently far, the full signal can be resolved, giving a relative fluorescence contrast as 0.3.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Depth ===&lt;br /&gt;
Next, the qualitative relation is studied between the depth of the dysplastic region inside the skin and the fluorescence contrast signal. In this case, the geometry is defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm and the thickness to 0.1 mm. The depth is set as the swept parameter, and it is defined as the distance between the top surface of the epidermis layer and the top surface of the rectangular wire. &lt;br /&gt;
&lt;br /&gt;
[[File:results2_updated.png|450px|thumb|center| (a) Schematic of the geometry, where the FAD concentration inside the rectangular rod is lower, representing the dysplastic region. The depth of the rectangular wire is swept. (b) The dependence betweewn the depth of the dysplastic region and the fluorescence contrast signal. The red dashed line illustrates an exponential fitting of the simulation results. (c) The measured fluorescence signal for each depth value with an increasing depth from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that the fluorescence contrast signal decreases as the depth increases, which agrees with intuition. As for a deeper location inside the skin, it takes farther distance for the fluorescent light to travel out, therefore the distortion introduced by the scattering events as the light propagates through the skin tissue is stronger. In addition, the attenuation from both scattering and absorption is stronger as well, which further reduces the SNR. For depth greater than 0.1 mm, the contrast signal strength is nearly vanishing.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the FAD Concentration Difference ===&lt;br /&gt;
Similarly, the strength of the contrast signal should also be a function of the concentration difference of FAD between the dysplastic and the healthy tissue. The geometry is again defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm, the thickness to 0.1 mm, and the depth is set to 0.04 mm. The volumetric concentration of FAD in the healthy region is fixed to 0.2 while the FAD concentration in the dysplastic region is varied from 0 to 0.2. &lt;br /&gt;
&lt;br /&gt;
[[File:results32_updated.png|700px|thumb|center| (a,c) Schematic of the geometry, (a) has a shallower dysplastic region while it is deeper in (c). The FAD concentration inside the rectangular rod is swept. (b,d) The dependence betweewn the concentration difference and the fluorescence contrast signal. (c) The measured fluorescence signal for each concentration value with a decreasing concentration contrast from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that for 0.04 mm as the depth, the fluorescence contrast signal is linearly proportional to the FAD concentration difference, which again agrees with intuition. The concentration difference determines the distribution in the number of fluorescence emitter, which is equivalent to the source and directly proportional to the fluorescence intensity. When increasing the depth of the rectangular wire to 0.1 mm, again the linear dependence is shown however with an overall lower amplitude, representing the decrease in the number of fluorescence emitter.&lt;br /&gt;
&lt;br /&gt;
== Conclusions ==&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
You can write math equations as follows:&lt;br /&gt;
&amp;lt;math&amp;gt;y = x^2 + 5 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can include images as follows (you will need to upload the image first using the toolbox on the left bar, using the &amp;quot;Upload file&amp;quot; link).&lt;br /&gt;
&lt;br /&gt;
[[File:Snip 20210106183207.png|200px]]&lt;/div&gt;</summary>
		<author><name>Bohan</name></author>
	</entry>
	<entry>
		<id>http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=33774</id>
		<title>Medical imaging: Simulations of reflectance and fluorescence of human tissue</title>
		<link rel="alternate" type="text/html" href="http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=33774"/>
		<updated>2023-12-18T06:38:20Z</updated>

		<summary type="html">&lt;p&gt;Bohan: /* Monte Carlo Simulation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
=== Optical Processes in Skin Tissue ===&lt;br /&gt;
When shining light into the skin, there are multiple light-matter interaction processes happening simultaneously, including reflection, absorption, scattering, and fluorescence as depicted in the figure below. &lt;br /&gt;
&lt;br /&gt;
The key process in this study is fluorescence. For certain material, when short wavelength photon is absorbed, it will re-emit photon at a longer wavelength and smaller energy. In the epidermis layer of the skin tissue, there are two fluorescence molecules, FAD and NADH, which are related to metabolic activities of cells. By measuring the fluorescence activities, one can monitor the localized concentration of FAD and NADH in the epidermis layer, therefore acquiring early signs on potnetial dysplasia. To model the fluorescence activities in the epidermis layer, the FAD is assumed to be uniformly distributed in the layer while the dysplastic region can be regarded as some localized volume with a different concentration comparing to the surrounding medium. &lt;br /&gt;
&lt;br /&gt;
Reflection refers to the back-scatter of photon at the interface between different materials when the index of refraction changes. Since the main composition of human skin is water, the variation of index of refraction is minor therefore there is negligible amount of reflection inside human skin. &lt;br /&gt;
&lt;br /&gt;
Absorption is an intrinsic property of light-matter interaction where the amplitude of electromagnetic field attenuates as propagating. In human skin tissue, the total absorption can be decomposed into several different components, including absorption from water, fat, melanin, and blood content, which can be cast by an empirical equation [REF]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; mu_{\alpha} =BS\mu_{\alpha,oxy} + B (1-S) \mu_{\alpha,deoxy} + W\mu_{\alpha,water} + F\mu_{\alpha,fat} + M\mu_{\alpha,melanosome} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The scattering process refers to the change in the direction of motion when the photon interacts with the material (mainly the nuclei). In the actual scenario of fluorescence detection, the scattering process can result in two consequences including the attenuation of number of photons in the forward propagating direction, and introducing distortion to the localized signal. The second consequence is the critical factor of reducing the signal to noise ratio, as the localized signal from the dysplasia is smeared by the uncertain scattering processes.&lt;br /&gt;
&lt;br /&gt;
== Methods ==&lt;br /&gt;
&lt;br /&gt;
=== Monte Carlo Simulation ===&lt;br /&gt;
Due to the randomness nature of the scattering process and absorption process related to skin tissue, the optimal approach to simulate the optical behavior is to use Monte Carlo simuilation. Monte Carlo algorithm is a computationally algorithm that&lt;br /&gt;
&lt;br /&gt;
=== MCMatlab ===&lt;br /&gt;
&lt;br /&gt;
=== Theoretical Model Extraction ===&lt;br /&gt;
If considering the activities in the epidermis layer, when illuminated by blue light pump beam, absorption will happen in both the tissue and the FAD, which is described by a single quatity, the absorptivity &amp;lt;math&amp;gt; \mu_\alpha &amp;lt;/math&amp;gt;. In addition, FAD fluorescence is excited, and the fluorescence intensity is determined by the amount of blue photon absorbed by the FAD molecules. However, under regular material definition inside the simulation, it is impossible to separate the absorption by FAD from the absorption from the surrounding tissue, such that the actual fluorescence intensity will be inaccurate. &lt;br /&gt;
&lt;br /&gt;
[[File:model.png|400px|thumb|center|The multilayer model for fluorescence Monte Carlo simulation. ]]&lt;br /&gt;
&lt;br /&gt;
Here, the problem is solved by a multilayer model where the FAD molecules are collected into thin slabs distributed inside the medium. In this case, two different materials can be assigned and the absorption of FAD and surrounding tissue can be separated. However, by reshaping the geometry, the material absorpsivity will be correspondingly modified. Below, the equivalent absorptivity is derived to correct for this change. &lt;br /&gt;
&lt;br /&gt;
The total optical absorption can be described as:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \propto \int dV (-J)\cdot E = \int dV (-i\omega\varepsilon_0 \chi |E|^2) = \int dV \omega\varepsilon_0 \chi&#039;&#039; |E|^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;J&amp;lt;/math&amp;gt; is the current density, &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; is the electric field, &amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; is the angular frequency of light, &amp;lt;math&amp;gt; \varepsilon_0&amp;lt;/math&amp;gt;  is the free space electric permittivity, &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  is the material susceptibility, and &amp;lt;math&amp;gt;\chi&#039;&#039;&amp;lt;/math&amp;gt; is the imaginary part of &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  representing the optical absorption of a certain material. Under the representation of Beer-Lambert law, the electric field penetrating in the skin can be described as an exponential decay: &amp;lt;math&amp;gt; E = E_0 \exp(-\mu_\alpha z) &amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; is the material absorpsivity in the unit of [cm]&amp;lt;math&amp;gt;^{-1}&amp;lt;/math&amp;gt;. Substituting the exponentially decaying electric field into the absorption expression and applying our one-dimensional multilayer geometry: &lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \cong A \int dz \exp(-2\mu_\alpha z) = A\frac{1-\exp(-2\mu_\alpha L_z)}{2\mu_\alpha} &amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;L_z&amp;lt;/math&amp;gt; is the total length in z direction. To have the same amount of absorption in the fluorophore when using the multilayer model, we need to equivalently adjust the optical property &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; of the material to balance the effect of shrinking the volume occupied by the fluorophore. Gathering the fluorophore into a thin slab centered at &amp;lt;math&amp;gt;L_z/2&amp;lt;/math&amp;gt;, the absorption here is:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt;  \cong A \int_{L_z/2-\Delta{z}/2}^{L_z/2+\Delta{z}/2} dz \exp(-2\mu_\alpha&#039; z)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; = A\frac{\exp(-\mu_\alpha&#039;L_z)(\exp(\mu_\alpha&#039;\Delta{z})-\exp(-\mu_\alpha&#039;\Delta{z}))}{2\mu_\alpha&#039;}\cong A\exp(-\mu_\alpha&#039;L_z)\Delta{z}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Equaling the absorption and assuming the absorpsivity of FAD is small (&amp;lt;math&amp;gt;\mu_\alpha L_z\ll1&amp;lt;/math&amp;gt;), one can extract an approximate expression for the equivalent absorpsivity:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;    \mu_\alpha&#039; = \frac{1}{L_z}\log(\frac{L_z}{\Delta{z}}). &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using the equivalent absorpsivity correction, the total absorption is the same. In addition, the blue photon absorbed by FAD will result in the fluorescence emission, such that the correct FAD fluorescence activity can be simulated.&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
&lt;br /&gt;
The properties of the dysplastic region directly determines the fluorescence signal. Here, the properties refer to the geometry size, shape, the fluorophore concentration, and the location inside the skin tissue. Below, we will carry out a few computational and numerical experiments to qualitatively describe the dependence between the fluorescence signal strength and these factors. The simulation is conducted based on MCMatlab Fluorescence Monte Carlo simulation package. &lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Width ===&lt;br /&gt;
[[File:results1_updated.png|700px|thumb|center| (a) Schematic of the geometry, which is defined as a one-dimensional variation in FAD concentration with a low concentration at the central part representing the dysplastic region. (b) The actual fluorescence signal measured as a function of x position. The contrast signal is extracted as the ratio between the magnitude of the dip and the maximum signal level. (c) The dependence betweewn the width of the dysplastic region and the fluorescence contrast signal. (d) The measured fluorescence signal for each width value with an increasing width from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
For the first study, the simulated geometry is defined as a one-dimensional concentration variation in &amp;quot;x&amp;quot; as shown in the figure above with a lower FAD concentration at the central region representing the dysplastic region. The width of the dysplastic region is swept and the output fluorescence contrast signal is measured. It is shown that the contrast signal first goes up, then saturates at w~0.35 mm. At small width values, the signals are mixed up from the two edges where the concentration changes sharply, so that one cannot resolve the full contrast signal. When the two edges are separated sufficiently far, the full signal can be resolved, giving a relative fluorescence contrast as 0.3.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Depth ===&lt;br /&gt;
Next, the qualitative relation is studied between the depth of the dysplastic region inside the skin and the fluorescence contrast signal. In this case, the geometry is defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm and the thickness to 0.1 mm. The depth is set as the swept parameter, and it is defined as the distance between the top surface of the epidermis layer and the top surface of the rectangular wire. &lt;br /&gt;
&lt;br /&gt;
[[File:results2_updated.png|450px|thumb|center| (a) Schematic of the geometry, where the FAD concentration inside the rectangular rod is lower, representing the dysplastic region. The depth of the rectangular wire is swept. (b) The dependence betweewn the depth of the dysplastic region and the fluorescence contrast signal. The red dashed line illustrates an exponential fitting of the simulation results. (c) The measured fluorescence signal for each depth value with an increasing depth from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that the fluorescence contrast signal decreases as the depth increases, which agrees with intuition. As for a deeper location inside the skin, it takes farther distance for the fluorescent light to travel out, therefore the distortion introduced by the scattering events as the light propagates through the skin tissue is stronger. In addition, the attenuation from both scattering and absorption is stronger as well, which further reduces the SNR. For depth greater than 0.1 mm, the contrast signal strength is nearly vanishing.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the FAD Concentration Difference ===&lt;br /&gt;
Similarly, the strength of the contrast signal should also be a function of the concentration difference of FAD between the dysplastic and the healthy tissue. The geometry is again defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm, the thickness to 0.1 mm, and the depth is set to 0.04 mm. The volumetric concentration of FAD in the healthy region is fixed to 0.2 while the FAD concentration in the dysplastic region is varied from 0 to 0.2. &lt;br /&gt;
&lt;br /&gt;
[[File:results32_updated.png|700px|thumb|center| (a,c) Schematic of the geometry, (a) has a shallower dysplastic region while it is deeper in (c). The FAD concentration inside the rectangular rod is swept. (b,d) The dependence betweewn the concentration difference and the fluorescence contrast signal. (c) The measured fluorescence signal for each concentration value with a decreasing concentration contrast from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that for 0.04 mm as the depth, the fluorescence contrast signal is linearly proportional to the FAD concentration difference, which again agrees with intuition. The concentration difference determines the distribution in the number of fluorescence emitter, which is equivalent to the source and directly proportional to the fluorescence intensity. When increasing the depth of the rectangular wire to 0.1 mm, again the linear dependence is shown however with an overall lower amplitude, representing the decrease in the number of fluorescence emitter.&lt;br /&gt;
&lt;br /&gt;
== Conclusions ==&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
You can write math equations as follows:&lt;br /&gt;
&amp;lt;math&amp;gt;y = x^2 + 5 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can include images as follows (you will need to upload the image first using the toolbox on the left bar, using the &amp;quot;Upload file&amp;quot; link).&lt;br /&gt;
&lt;br /&gt;
[[File:Snip 20210106183207.png|200px]]&lt;/div&gt;</summary>
		<author><name>Bohan</name></author>
	</entry>
	<entry>
		<id>http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=33773</id>
		<title>Medical imaging: Simulations of reflectance and fluorescence of human tissue</title>
		<link rel="alternate" type="text/html" href="http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=33773"/>
		<updated>2023-12-18T06:35:34Z</updated>

		<summary type="html">&lt;p&gt;Bohan: /* Background */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
=== Optical Processes in Skin Tissue ===&lt;br /&gt;
When shining light into the skin, there are multiple light-matter interaction processes happening simultaneously, including reflection, absorption, scattering, and fluorescence as depicted in the figure below. &lt;br /&gt;
&lt;br /&gt;
The key process in this study is fluorescence. For certain material, when short wavelength photon is absorbed, it will re-emit photon at a longer wavelength and smaller energy. In the epidermis layer of the skin tissue, there are two fluorescence molecules, FAD and NADH, which are related to metabolic activities of cells. By measuring the fluorescence activities, one can monitor the localized concentration of FAD and NADH in the epidermis layer, therefore acquiring early signs on potnetial dysplasia. To model the fluorescence activities in the epidermis layer, the FAD is assumed to be uniformly distributed in the layer while the dysplastic region can be regarded as some localized volume with a different concentration comparing to the surrounding medium. &lt;br /&gt;
&lt;br /&gt;
Reflection refers to the back-scatter of photon at the interface between different materials when the index of refraction changes. Since the main composition of human skin is water, the variation of index of refraction is minor therefore there is negligible amount of reflection inside human skin. &lt;br /&gt;
&lt;br /&gt;
Absorption is an intrinsic property of light-matter interaction where the amplitude of electromagnetic field attenuates as propagating. In human skin tissue, the total absorption can be decomposed into several different components, including absorption from water, fat, melanin, and blood content, which can be cast by an empirical equation [REF]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; mu_{\alpha} =BS\mu_{\alpha,oxy} + B (1-S) \mu_{\alpha,deoxy} + W\mu_{\alpha,water} + F\mu_{\alpha,fat} + M\mu_{\alpha,melanosome} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The scattering process refers to the change in the direction of motion when the photon interacts with the material (mainly the nuclei). In the actual scenario of fluorescence detection, the scattering process can result in two consequences including the attenuation of number of photons in the forward propagating direction, and introducing distortion to the localized signal. The second consequence is the critical factor of reducing the signal to noise ratio, as the localized signal from the dysplasia is smeared by the uncertain scattering processes.&lt;br /&gt;
&lt;br /&gt;
== Methods ==&lt;br /&gt;
&lt;br /&gt;
=== Monte Carlo Simulation ===&lt;br /&gt;
Due to the randomness nature of the scattering process and absorption process related to skin tissue, the optimal approach to simulate the skin behavior is to use Monte Carlo simuilation. Monte Carlo algorithm is a computationally algorithm that&lt;br /&gt;
&lt;br /&gt;
=== MCMatlab ===&lt;br /&gt;
&lt;br /&gt;
=== Theoretical Model Extraction ===&lt;br /&gt;
If considering the activities in the epidermis layer, when illuminated by blue light pump beam, absorption will happen in both the tissue and the FAD, which is described by a single quatity, the absorptivity &amp;lt;math&amp;gt; \mu_\alpha &amp;lt;/math&amp;gt;. In addition, FAD fluorescence is excited, and the fluorescence intensity is determined by the amount of blue photon absorbed by the FAD molecules. However, under regular material definition inside the simulation, it is impossible to separate the absorption by FAD from the absorption from the surrounding tissue, such that the actual fluorescence intensity will be inaccurate. &lt;br /&gt;
&lt;br /&gt;
[[File:model.png|400px|thumb|center|The multilayer model for fluorescence Monte Carlo simulation. ]]&lt;br /&gt;
&lt;br /&gt;
Here, the problem is solved by a multilayer model where the FAD molecules are collected into thin slabs distributed inside the medium. In this case, two different materials can be assigned and the absorption of FAD and surrounding tissue can be separated. However, by reshaping the geometry, the material absorpsivity will be correspondingly modified. Below, the equivalent absorptivity is derived to correct for this change. &lt;br /&gt;
&lt;br /&gt;
The total optical absorption can be described as:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \propto \int dV (-J)\cdot E = \int dV (-i\omega\varepsilon_0 \chi |E|^2) = \int dV \omega\varepsilon_0 \chi&#039;&#039; |E|^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;J&amp;lt;/math&amp;gt; is the current density, &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; is the electric field, &amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; is the angular frequency of light, &amp;lt;math&amp;gt; \varepsilon_0&amp;lt;/math&amp;gt;  is the free space electric permittivity, &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  is the material susceptibility, and &amp;lt;math&amp;gt;\chi&#039;&#039;&amp;lt;/math&amp;gt; is the imaginary part of &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  representing the optical absorption of a certain material. Under the representation of Beer-Lambert law, the electric field penetrating in the skin can be described as an exponential decay: &amp;lt;math&amp;gt; E = E_0 \exp(-\mu_\alpha z) &amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; is the material absorpsivity in the unit of [cm]&amp;lt;math&amp;gt;^{-1}&amp;lt;/math&amp;gt;. Substituting the exponentially decaying electric field into the absorption expression and applying our one-dimensional multilayer geometry: &lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \cong A \int dz \exp(-2\mu_\alpha z) = A\frac{1-\exp(-2\mu_\alpha L_z)}{2\mu_\alpha} &amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;L_z&amp;lt;/math&amp;gt; is the total length in z direction. To have the same amount of absorption in the fluorophore when using the multilayer model, we need to equivalently adjust the optical property &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; of the material to balance the effect of shrinking the volume occupied by the fluorophore. Gathering the fluorophore into a thin slab centered at &amp;lt;math&amp;gt;L_z/2&amp;lt;/math&amp;gt;, the absorption here is:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt;  \cong A \int_{L_z/2-\Delta{z}/2}^{L_z/2+\Delta{z}/2} dz \exp(-2\mu_\alpha&#039; z)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; = A\frac{\exp(-\mu_\alpha&#039;L_z)(\exp(\mu_\alpha&#039;\Delta{z})-\exp(-\mu_\alpha&#039;\Delta{z}))}{2\mu_\alpha&#039;}\cong A\exp(-\mu_\alpha&#039;L_z)\Delta{z}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Equaling the absorption and assuming the absorpsivity of FAD is small (&amp;lt;math&amp;gt;\mu_\alpha L_z\ll1&amp;lt;/math&amp;gt;), one can extract an approximate expression for the equivalent absorpsivity:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;    \mu_\alpha&#039; = \frac{1}{L_z}\log(\frac{L_z}{\Delta{z}}). &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using the equivalent absorpsivity correction, the total absorption is the same. In addition, the blue photon absorbed by FAD will result in the fluorescence emission, such that the correct FAD fluorescence activity can be simulated.&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
&lt;br /&gt;
The properties of the dysplastic region directly determines the fluorescence signal. Here, the properties refer to the geometry size, shape, the fluorophore concentration, and the location inside the skin tissue. Below, we will carry out a few computational and numerical experiments to qualitatively describe the dependence between the fluorescence signal strength and these factors. The simulation is conducted based on MCMatlab Fluorescence Monte Carlo simulation package. &lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Width ===&lt;br /&gt;
[[File:results1_updated.png|700px|thumb|center| (a) Schematic of the geometry, which is defined as a one-dimensional variation in FAD concentration with a low concentration at the central part representing the dysplastic region. (b) The actual fluorescence signal measured as a function of x position. The contrast signal is extracted as the ratio between the magnitude of the dip and the maximum signal level. (c) The dependence betweewn the width of the dysplastic region and the fluorescence contrast signal. (d) The measured fluorescence signal for each width value with an increasing width from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
For the first study, the simulated geometry is defined as a one-dimensional concentration variation in &amp;quot;x&amp;quot; as shown in the figure above with a lower FAD concentration at the central region representing the dysplastic region. The width of the dysplastic region is swept and the output fluorescence contrast signal is measured. It is shown that the contrast signal first goes up, then saturates at w~0.35 mm. At small width values, the signals are mixed up from the two edges where the concentration changes sharply, so that one cannot resolve the full contrast signal. When the two edges are separated sufficiently far, the full signal can be resolved, giving a relative fluorescence contrast as 0.3.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Depth ===&lt;br /&gt;
Next, the qualitative relation is studied between the depth of the dysplastic region inside the skin and the fluorescence contrast signal. In this case, the geometry is defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm and the thickness to 0.1 mm. The depth is set as the swept parameter, and it is defined as the distance between the top surface of the epidermis layer and the top surface of the rectangular wire. &lt;br /&gt;
&lt;br /&gt;
[[File:results2_updated.png|450px|thumb|center| (a) Schematic of the geometry, where the FAD concentration inside the rectangular rod is lower, representing the dysplastic region. The depth of the rectangular wire is swept. (b) The dependence betweewn the depth of the dysplastic region and the fluorescence contrast signal. The red dashed line illustrates an exponential fitting of the simulation results. (c) The measured fluorescence signal for each depth value with an increasing depth from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that the fluorescence contrast signal decreases as the depth increases, which agrees with intuition. As for a deeper location inside the skin, it takes farther distance for the fluorescent light to travel out, therefore the distortion introduced by the scattering events as the light propagates through the skin tissue is stronger. In addition, the attenuation from both scattering and absorption is stronger as well, which further reduces the SNR. For depth greater than 0.1 mm, the contrast signal strength is nearly vanishing.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the FAD Concentration Difference ===&lt;br /&gt;
Similarly, the strength of the contrast signal should also be a function of the concentration difference of FAD between the dysplastic and the healthy tissue. The geometry is again defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm, the thickness to 0.1 mm, and the depth is set to 0.04 mm. The volumetric concentration of FAD in the healthy region is fixed to 0.2 while the FAD concentration in the dysplastic region is varied from 0 to 0.2. &lt;br /&gt;
&lt;br /&gt;
[[File:results32_updated.png|700px|thumb|center| (a,c) Schematic of the geometry, (a) has a shallower dysplastic region while it is deeper in (c). The FAD concentration inside the rectangular rod is swept. (b,d) The dependence betweewn the concentration difference and the fluorescence contrast signal. (c) The measured fluorescence signal for each concentration value with a decreasing concentration contrast from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that for 0.04 mm as the depth, the fluorescence contrast signal is linearly proportional to the FAD concentration difference, which again agrees with intuition. The concentration difference determines the distribution in the number of fluorescence emitter, which is equivalent to the source and directly proportional to the fluorescence intensity. When increasing the depth of the rectangular wire to 0.1 mm, again the linear dependence is shown however with an overall lower amplitude, representing the decrease in the number of fluorescence emitter.&lt;br /&gt;
&lt;br /&gt;
== Conclusions ==&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
You can write math equations as follows:&lt;br /&gt;
&amp;lt;math&amp;gt;y = x^2 + 5 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can include images as follows (you will need to upload the image first using the toolbox on the left bar, using the &amp;quot;Upload file&amp;quot; link).&lt;br /&gt;
&lt;br /&gt;
[[File:Snip 20210106183207.png|200px]]&lt;/div&gt;</summary>
		<author><name>Bohan</name></author>
	</entry>
	<entry>
		<id>http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=33772</id>
		<title>Medical imaging: Simulations of reflectance and fluorescence of human tissue</title>
		<link rel="alternate" type="text/html" href="http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=33772"/>
		<updated>2023-12-18T06:35:25Z</updated>

		<summary type="html">&lt;p&gt;Bohan: /* Methods */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
&lt;br /&gt;
== Methods ==&lt;br /&gt;
&lt;br /&gt;
=== Monte Carlo Simulation ===&lt;br /&gt;
Due to the randomness nature of the scattering process and absorption process related to skin tissue, the optimal approach to simulate the skin behavior is to use Monte Carlo simuilation. Monte Carlo algorithm is a computationally algorithm that&lt;br /&gt;
&lt;br /&gt;
=== MCMatlab ===&lt;br /&gt;
&lt;br /&gt;
=== Theoretical Model Extraction ===&lt;br /&gt;
If considering the activities in the epidermis layer, when illuminated by blue light pump beam, absorption will happen in both the tissue and the FAD, which is described by a single quatity, the absorptivity &amp;lt;math&amp;gt; \mu_\alpha &amp;lt;/math&amp;gt;. In addition, FAD fluorescence is excited, and the fluorescence intensity is determined by the amount of blue photon absorbed by the FAD molecules. However, under regular material definition inside the simulation, it is impossible to separate the absorption by FAD from the absorption from the surrounding tissue, such that the actual fluorescence intensity will be inaccurate. &lt;br /&gt;
&lt;br /&gt;
[[File:model.png|400px|thumb|center|The multilayer model for fluorescence Monte Carlo simulation. ]]&lt;br /&gt;
&lt;br /&gt;
Here, the problem is solved by a multilayer model where the FAD molecules are collected into thin slabs distributed inside the medium. In this case, two different materials can be assigned and the absorption of FAD and surrounding tissue can be separated. However, by reshaping the geometry, the material absorpsivity will be correspondingly modified. Below, the equivalent absorptivity is derived to correct for this change. &lt;br /&gt;
&lt;br /&gt;
The total optical absorption can be described as:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \propto \int dV (-J)\cdot E = \int dV (-i\omega\varepsilon_0 \chi |E|^2) = \int dV \omega\varepsilon_0 \chi&#039;&#039; |E|^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;J&amp;lt;/math&amp;gt; is the current density, &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; is the electric field, &amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; is the angular frequency of light, &amp;lt;math&amp;gt; \varepsilon_0&amp;lt;/math&amp;gt;  is the free space electric permittivity, &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  is the material susceptibility, and &amp;lt;math&amp;gt;\chi&#039;&#039;&amp;lt;/math&amp;gt; is the imaginary part of &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  representing the optical absorption of a certain material. Under the representation of Beer-Lambert law, the electric field penetrating in the skin can be described as an exponential decay: &amp;lt;math&amp;gt; E = E_0 \exp(-\mu_\alpha z) &amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; is the material absorpsivity in the unit of [cm]&amp;lt;math&amp;gt;^{-1}&amp;lt;/math&amp;gt;. Substituting the exponentially decaying electric field into the absorption expression and applying our one-dimensional multilayer geometry: &lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \cong A \int dz \exp(-2\mu_\alpha z) = A\frac{1-\exp(-2\mu_\alpha L_z)}{2\mu_\alpha} &amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;L_z&amp;lt;/math&amp;gt; is the total length in z direction. To have the same amount of absorption in the fluorophore when using the multilayer model, we need to equivalently adjust the optical property &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; of the material to balance the effect of shrinking the volume occupied by the fluorophore. Gathering the fluorophore into a thin slab centered at &amp;lt;math&amp;gt;L_z/2&amp;lt;/math&amp;gt;, the absorption here is:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt;  \cong A \int_{L_z/2-\Delta{z}/2}^{L_z/2+\Delta{z}/2} dz \exp(-2\mu_\alpha&#039; z)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; = A\frac{\exp(-\mu_\alpha&#039;L_z)(\exp(\mu_\alpha&#039;\Delta{z})-\exp(-\mu_\alpha&#039;\Delta{z}))}{2\mu_\alpha&#039;}\cong A\exp(-\mu_\alpha&#039;L_z)\Delta{z}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Equaling the absorption and assuming the absorpsivity of FAD is small (&amp;lt;math&amp;gt;\mu_\alpha L_z\ll1&amp;lt;/math&amp;gt;), one can extract an approximate expression for the equivalent absorpsivity:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;    \mu_\alpha&#039; = \frac{1}{L_z}\log(\frac{L_z}{\Delta{z}}). &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using the equivalent absorpsivity correction, the total absorption is the same. In addition, the blue photon absorbed by FAD will result in the fluorescence emission, such that the correct FAD fluorescence activity can be simulated.&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
&lt;br /&gt;
The properties of the dysplastic region directly determines the fluorescence signal. Here, the properties refer to the geometry size, shape, the fluorophore concentration, and the location inside the skin tissue. Below, we will carry out a few computational and numerical experiments to qualitatively describe the dependence between the fluorescence signal strength and these factors. The simulation is conducted based on MCMatlab Fluorescence Monte Carlo simulation package. &lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Width ===&lt;br /&gt;
[[File:results1_updated.png|700px|thumb|center| (a) Schematic of the geometry, which is defined as a one-dimensional variation in FAD concentration with a low concentration at the central part representing the dysplastic region. (b) The actual fluorescence signal measured as a function of x position. The contrast signal is extracted as the ratio between the magnitude of the dip and the maximum signal level. (c) The dependence betweewn the width of the dysplastic region and the fluorescence contrast signal. (d) The measured fluorescence signal for each width value with an increasing width from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
For the first study, the simulated geometry is defined as a one-dimensional concentration variation in &amp;quot;x&amp;quot; as shown in the figure above with a lower FAD concentration at the central region representing the dysplastic region. The width of the dysplastic region is swept and the output fluorescence contrast signal is measured. It is shown that the contrast signal first goes up, then saturates at w~0.35 mm. At small width values, the signals are mixed up from the two edges where the concentration changes sharply, so that one cannot resolve the full contrast signal. When the two edges are separated sufficiently far, the full signal can be resolved, giving a relative fluorescence contrast as 0.3.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Depth ===&lt;br /&gt;
Next, the qualitative relation is studied between the depth of the dysplastic region inside the skin and the fluorescence contrast signal. In this case, the geometry is defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm and the thickness to 0.1 mm. The depth is set as the swept parameter, and it is defined as the distance between the top surface of the epidermis layer and the top surface of the rectangular wire. &lt;br /&gt;
&lt;br /&gt;
[[File:results2_updated.png|450px|thumb|center| (a) Schematic of the geometry, where the FAD concentration inside the rectangular rod is lower, representing the dysplastic region. The depth of the rectangular wire is swept. (b) The dependence betweewn the depth of the dysplastic region and the fluorescence contrast signal. The red dashed line illustrates an exponential fitting of the simulation results. (c) The measured fluorescence signal for each depth value with an increasing depth from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that the fluorescence contrast signal decreases as the depth increases, which agrees with intuition. As for a deeper location inside the skin, it takes farther distance for the fluorescent light to travel out, therefore the distortion introduced by the scattering events as the light propagates through the skin tissue is stronger. In addition, the attenuation from both scattering and absorption is stronger as well, which further reduces the SNR. For depth greater than 0.1 mm, the contrast signal strength is nearly vanishing.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the FAD Concentration Difference ===&lt;br /&gt;
Similarly, the strength of the contrast signal should also be a function of the concentration difference of FAD between the dysplastic and the healthy tissue. The geometry is again defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm, the thickness to 0.1 mm, and the depth is set to 0.04 mm. The volumetric concentration of FAD in the healthy region is fixed to 0.2 while the FAD concentration in the dysplastic region is varied from 0 to 0.2. &lt;br /&gt;
&lt;br /&gt;
[[File:results32_updated.png|700px|thumb|center| (a,c) Schematic of the geometry, (a) has a shallower dysplastic region while it is deeper in (c). The FAD concentration inside the rectangular rod is swept. (b,d) The dependence betweewn the concentration difference and the fluorescence contrast signal. (c) The measured fluorescence signal for each concentration value with a decreasing concentration contrast from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that for 0.04 mm as the depth, the fluorescence contrast signal is linearly proportional to the FAD concentration difference, which again agrees with intuition. The concentration difference determines the distribution in the number of fluorescence emitter, which is equivalent to the source and directly proportional to the fluorescence intensity. When increasing the depth of the rectangular wire to 0.1 mm, again the linear dependence is shown however with an overall lower amplitude, representing the decrease in the number of fluorescence emitter.&lt;br /&gt;
&lt;br /&gt;
== Conclusions ==&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
You can write math equations as follows:&lt;br /&gt;
&amp;lt;math&amp;gt;y = x^2 + 5 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can include images as follows (you will need to upload the image first using the toolbox on the left bar, using the &amp;quot;Upload file&amp;quot; link).&lt;br /&gt;
&lt;br /&gt;
[[File:Snip 20210106183207.png|200px]]&lt;/div&gt;</summary>
		<author><name>Bohan</name></author>
	</entry>
	<entry>
		<id>http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=33771</id>
		<title>Medical imaging: Simulations of reflectance and fluorescence of human tissue</title>
		<link rel="alternate" type="text/html" href="http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=33771"/>
		<updated>2023-12-18T06:34:58Z</updated>

		<summary type="html">&lt;p&gt;Bohan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
&lt;br /&gt;
== Methods ==&lt;br /&gt;
&lt;br /&gt;
=== Optical Processes in Skin Tissue ===&lt;br /&gt;
When shining light into the skin, there are multiple light-matter interaction processes happening simultaneously, including reflection, absorption, scattering, and fluorescence as depicted in the figure below. &lt;br /&gt;
&lt;br /&gt;
The key process in this study is fluorescence. For certain material, when short wavelength photon is absorbed, it will re-emit photon at a longer wavelength and smaller energy. In the epidermis layer of the skin tissue, there are two fluorescence molecules, FAD and NADH, which are related to metabolic activities of cells. By measuring the fluorescence activities, one can monitor the localized concentration of FAD and NADH in the epidermis layer, therefore acquiring early signs on potnetial dysplasia. To model the fluorescence activities in the epidermis layer, the FAD is assumed to be uniformly distributed in the layer while the dysplastic region can be regarded as some localized volume with a different concentration comparing to the surrounding medium. &lt;br /&gt;
&lt;br /&gt;
Reflection refers to the back-scatter of photon at the interface between different materials when the index of refraction changes. Since the main composition of human skin is water, the variation of index of refraction is minor therefore there is negligible amount of reflection inside human skin. &lt;br /&gt;
&lt;br /&gt;
Absorption is an intrinsic property of light-matter interaction where the amplitude of electromagnetic field attenuates as propagating. In human skin tissue, the total absorption can be decomposed into several different components, including absorption from water, fat, melanin, and blood content, which can be cast by an empirical equation [REF]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; mu_{\alpha} =BS\mu_{\alpha,oxy} + B (1-S) \mu_{\alpha,deoxy} + W\mu_{\alpha,water} + F\mu_{\alpha,fat} + M\mu_{\alpha,melanosome} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The scattering process refers to the change in the direction of motion when the photon interacts with the material (mainly the nuclei). In the actual scenario of fluorescence detection, the scattering process can result in two consequences including the attenuation of number of photons in the forward propagating direction, and introducing distortion to the localized signal. The second consequence is the critical factor of reducing the signal to noise ratio, as the localized signal from the dysplasia is smeared by the uncertain scattering processes.  &lt;br /&gt;
&lt;br /&gt;
=== Monte Carlo Simulation ===&lt;br /&gt;
Due to the randomness nature of the scattering process and absorption process related to skin tissue, the optimal approach to simulate the skin behavior is to use Monte Carlo simuilation. Monte Carlo algorithm is a computationally algorithm that&lt;br /&gt;
&lt;br /&gt;
=== MCMatlab ===&lt;br /&gt;
&lt;br /&gt;
=== Theoretical Model Extraction ===&lt;br /&gt;
If considering the activities in the epidermis layer, when illuminated by blue light pump beam, absorption will happen in both the tissue and the FAD, which is described by a single quatity, the absorptivity &amp;lt;math&amp;gt; \mu_\alpha &amp;lt;/math&amp;gt;. In addition, FAD fluorescence is excited, and the fluorescence intensity is determined by the amount of blue photon absorbed by the FAD molecules. However, under regular material definition inside the simulation, it is impossible to separate the absorption by FAD from the absorption from the surrounding tissue, such that the actual fluorescence intensity will be inaccurate. &lt;br /&gt;
&lt;br /&gt;
[[File:model.png|400px|thumb|center|The multilayer model for fluorescence Monte Carlo simulation. ]]&lt;br /&gt;
&lt;br /&gt;
Here, the problem is solved by a multilayer model where the FAD molecules are collected into thin slabs distributed inside the medium. In this case, two different materials can be assigned and the absorption of FAD and surrounding tissue can be separated. However, by reshaping the geometry, the material absorpsivity will be correspondingly modified. Below, the equivalent absorptivity is derived to correct for this change. &lt;br /&gt;
&lt;br /&gt;
The total optical absorption can be described as:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \propto \int dV (-J)\cdot E = \int dV (-i\omega\varepsilon_0 \chi |E|^2) = \int dV \omega\varepsilon_0 \chi&#039;&#039; |E|^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;J&amp;lt;/math&amp;gt; is the current density, &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; is the electric field, &amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; is the angular frequency of light, &amp;lt;math&amp;gt; \varepsilon_0&amp;lt;/math&amp;gt;  is the free space electric permittivity, &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  is the material susceptibility, and &amp;lt;math&amp;gt;\chi&#039;&#039;&amp;lt;/math&amp;gt; is the imaginary part of &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  representing the optical absorption of a certain material. Under the representation of Beer-Lambert law, the electric field penetrating in the skin can be described as an exponential decay: &amp;lt;math&amp;gt; E = E_0 \exp(-\mu_\alpha z) &amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; is the material absorpsivity in the unit of [cm]&amp;lt;math&amp;gt;^{-1}&amp;lt;/math&amp;gt;. Substituting the exponentially decaying electric field into the absorption expression and applying our one-dimensional multilayer geometry: &lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \cong A \int dz \exp(-2\mu_\alpha z) = A\frac{1-\exp(-2\mu_\alpha L_z)}{2\mu_\alpha} &amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;L_z&amp;lt;/math&amp;gt; is the total length in z direction. To have the same amount of absorption in the fluorophore when using the multilayer model, we need to equivalently adjust the optical property &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; of the material to balance the effect of shrinking the volume occupied by the fluorophore. Gathering the fluorophore into a thin slab centered at &amp;lt;math&amp;gt;L_z/2&amp;lt;/math&amp;gt;, the absorption here is:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt;  \cong A \int_{L_z/2-\Delta{z}/2}^{L_z/2+\Delta{z}/2} dz \exp(-2\mu_\alpha&#039; z)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; = A\frac{\exp(-\mu_\alpha&#039;L_z)(\exp(\mu_\alpha&#039;\Delta{z})-\exp(-\mu_\alpha&#039;\Delta{z}))}{2\mu_\alpha&#039;}\cong A\exp(-\mu_\alpha&#039;L_z)\Delta{z}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Equaling the absorption and assuming the absorpsivity of FAD is small (&amp;lt;math&amp;gt;\mu_\alpha L_z\ll1&amp;lt;/math&amp;gt;), one can extract an approximate expression for the equivalent absorpsivity:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;    \mu_\alpha&#039; = \frac{1}{L_z}\log(\frac{L_z}{\Delta{z}}). &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using the equivalent absorpsivity correction, the total absorption is the same. In addition, the blue photon absorbed by FAD will result in the fluorescence emission, such that the correct FAD fluorescence activity can be simulated.&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
&lt;br /&gt;
The properties of the dysplastic region directly determines the fluorescence signal. Here, the properties refer to the geometry size, shape, the fluorophore concentration, and the location inside the skin tissue. Below, we will carry out a few computational and numerical experiments to qualitatively describe the dependence between the fluorescence signal strength and these factors. The simulation is conducted based on MCMatlab Fluorescence Monte Carlo simulation package. &lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Width ===&lt;br /&gt;
[[File:results1_updated.png|700px|thumb|center| (a) Schematic of the geometry, which is defined as a one-dimensional variation in FAD concentration with a low concentration at the central part representing the dysplastic region. (b) The actual fluorescence signal measured as a function of x position. The contrast signal is extracted as the ratio between the magnitude of the dip and the maximum signal level. (c) The dependence betweewn the width of the dysplastic region and the fluorescence contrast signal. (d) The measured fluorescence signal for each width value with an increasing width from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
For the first study, the simulated geometry is defined as a one-dimensional concentration variation in &amp;quot;x&amp;quot; as shown in the figure above with a lower FAD concentration at the central region representing the dysplastic region. The width of the dysplastic region is swept and the output fluorescence contrast signal is measured. It is shown that the contrast signal first goes up, then saturates at w~0.35 mm. At small width values, the signals are mixed up from the two edges where the concentration changes sharply, so that one cannot resolve the full contrast signal. When the two edges are separated sufficiently far, the full signal can be resolved, giving a relative fluorescence contrast as 0.3.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Depth ===&lt;br /&gt;
Next, the qualitative relation is studied between the depth of the dysplastic region inside the skin and the fluorescence contrast signal. In this case, the geometry is defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm and the thickness to 0.1 mm. The depth is set as the swept parameter, and it is defined as the distance between the top surface of the epidermis layer and the top surface of the rectangular wire. &lt;br /&gt;
&lt;br /&gt;
[[File:results2_updated.png|450px|thumb|center| (a) Schematic of the geometry, where the FAD concentration inside the rectangular rod is lower, representing the dysplastic region. The depth of the rectangular wire is swept. (b) The dependence betweewn the depth of the dysplastic region and the fluorescence contrast signal. The red dashed line illustrates an exponential fitting of the simulation results. (c) The measured fluorescence signal for each depth value with an increasing depth from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that the fluorescence contrast signal decreases as the depth increases, which agrees with intuition. As for a deeper location inside the skin, it takes farther distance for the fluorescent light to travel out, therefore the distortion introduced by the scattering events as the light propagates through the skin tissue is stronger. In addition, the attenuation from both scattering and absorption is stronger as well, which further reduces the SNR. For depth greater than 0.1 mm, the contrast signal strength is nearly vanishing.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the FAD Concentration Difference ===&lt;br /&gt;
Similarly, the strength of the contrast signal should also be a function of the concentration difference of FAD between the dysplastic and the healthy tissue. The geometry is again defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm, the thickness to 0.1 mm, and the depth is set to 0.04 mm. The volumetric concentration of FAD in the healthy region is fixed to 0.2 while the FAD concentration in the dysplastic region is varied from 0 to 0.2. &lt;br /&gt;
&lt;br /&gt;
[[File:results32_updated.png|700px|thumb|center| (a,c) Schematic of the geometry, (a) has a shallower dysplastic region while it is deeper in (c). The FAD concentration inside the rectangular rod is swept. (b,d) The dependence betweewn the concentration difference and the fluorescence contrast signal. (c) The measured fluorescence signal for each concentration value with a decreasing concentration contrast from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that for 0.04 mm as the depth, the fluorescence contrast signal is linearly proportional to the FAD concentration difference, which again agrees with intuition. The concentration difference determines the distribution in the number of fluorescence emitter, which is equivalent to the source and directly proportional to the fluorescence intensity. When increasing the depth of the rectangular wire to 0.1 mm, again the linear dependence is shown however with an overall lower amplitude, representing the decrease in the number of fluorescence emitter.&lt;br /&gt;
&lt;br /&gt;
== Conclusions ==&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
You can write math equations as follows:&lt;br /&gt;
&amp;lt;math&amp;gt;y = x^2 + 5 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can include images as follows (you will need to upload the image first using the toolbox on the left bar, using the &amp;quot;Upload file&amp;quot; link).&lt;br /&gt;
&lt;br /&gt;
[[File:Snip 20210106183207.png|200px]]&lt;/div&gt;</summary>
		<author><name>Bohan</name></author>
	</entry>
	<entry>
		<id>http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=33762</id>
		<title>Medical imaging: Simulations of reflectance and fluorescence of human tissue</title>
		<link rel="alternate" type="text/html" href="http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=33762"/>
		<updated>2023-12-18T06:00:47Z</updated>

		<summary type="html">&lt;p&gt;Bohan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
&lt;br /&gt;
== Methods ==&lt;br /&gt;
&lt;br /&gt;
=== Optical Processes in Skin Tissue ===&lt;br /&gt;
When shining light into the skin, there are multiple light-matter interaction processes happening simultaneously, including reflection, absorption, scattering, and fluorescence. Reflection refers to the back-scatter of photon at the interface between different materials when the index of refraction changes. Since the main composition of human skin is water, the variation of index of refraction is minor therefore there is negligible amount of reflection inside human skin. Absorption is an intrinsic property of light-matter interaction where the amplitude of electromagnetic field attenuates as propagating. In human skin tissue, the total absorption can be decomposed into several different components, including absorption from water, fat, melanin, and blood content, which can be cast by an empirical equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; mu_{\alpha} =BS\mu_{\alpha,oxy} + B (1-S) \mu_{\alpha,deoxy} + W\mu_{\alpha,water} + F\mu_{\alpha,fat} + M\mu_{\alpha,melanosome} &amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Each &amp;lt;math&amp;gt; \mu_\alpha &amp;lt;/math&amp;gt; term represents the absorption contribution from the corresponding component.  &lt;br /&gt;
&lt;br /&gt;
=== Monte Carlo Simulation ===&lt;br /&gt;
Due to the randomness nature of the scattering process and absorption process related to skin tissue, the optimal approach to simulate the skin behavior is to use Monte Carlo simuilation. Monte Carlo algorithm is a computationally algorithm that&lt;br /&gt;
&lt;br /&gt;
=== MCMatlab ===&lt;br /&gt;
&lt;br /&gt;
=== Theoretical Model Extraction ===&lt;br /&gt;
If considering the activities in the epidermis layer, when illuminated by blue light pump beam, absorption will happen in both the tissue and the FAD, which is described by a single quatity, the absorptivity &amp;lt;math&amp;gt; \mu_\alpha &amp;lt;/math&amp;gt;. In addition, FAD fluorescence is excited, and the fluorescence intensity is determined by the amount of blue photon absorbed by the FAD molecules. However, under regular material definition inside the simulation, it is impossible to separate the absorption by FAD from the absorption from the surrounding tissue, such that the actual fluorescence intensity will be inaccurate. &lt;br /&gt;
&lt;br /&gt;
[[File:model.png|400px|thumb|center|The multilayer model for fluorescence Monte Carlo simulation. ]]&lt;br /&gt;
&lt;br /&gt;
Here, the problem is solved by a multilayer model where the FAD molecules are collected into thin slabs distributed inside the medium. In this case, two different materials can be assigned and the absorption of FAD and surrounding tissue can be separated. However, by reshaping the geometry, the material absorpsivity will be correspondingly modified. Below, the equivalent absorptivity is derived to correct for this change. &lt;br /&gt;
&lt;br /&gt;
The total optical absorption can be described as:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \propto \int dV (-J)\cdot E = \int dV (-i\omega\varepsilon_0 \chi |E|^2) = \int dV \omega\varepsilon_0 \chi&#039;&#039; |E|^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;J&amp;lt;/math&amp;gt; is the current density, &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; is the electric field, &amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; is the angular frequency of light, &amp;lt;math&amp;gt; \varepsilon_0&amp;lt;/math&amp;gt;  is the free space electric permittivity, &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  is the material susceptibility, and &amp;lt;math&amp;gt;\chi&#039;&#039;&amp;lt;/math&amp;gt; is the imaginary part of &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  representing the optical absorption of a certain material. Under the representation of Beer-Lambert law, the electric field penetrating in the skin can be described as an exponential decay: &amp;lt;math&amp;gt; E = E_0 \exp(-\mu_\alpha z) &amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; is the material absorpsivity in the unit of [cm]&amp;lt;math&amp;gt;^{-1}&amp;lt;/math&amp;gt;. Substituting the exponentially decaying electric field into the absorption expression and applying our one-dimensional multilayer geometry: &lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \cong A \int dz \exp(-2\mu_\alpha z) = A\frac{1-\exp(-2\mu_\alpha L_z)}{2\mu_\alpha} &amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;L_z&amp;lt;/math&amp;gt; is the total length in z direction. To have the same amount of absorption in the fluorophore when using the multilayer model, we need to equivalently adjust the optical property &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; of the material to balance the effect of shrinking the volume occupied by the fluorophore. Gathering the fluorophore into a thin slab centered at &amp;lt;math&amp;gt;L_z/2&amp;lt;/math&amp;gt;, the absorption here is:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt;  \cong A \int_{L_z/2-\Delta{z}/2}^{L_z/2+\Delta{z}/2} dz \exp(-2\mu_\alpha&#039; z)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; = A\frac{\exp(-\mu_\alpha&#039;L_z)(\exp(\mu_\alpha&#039;\Delta{z})-\exp(-\mu_\alpha&#039;\Delta{z}))}{2\mu_\alpha&#039;}\cong A\exp(-\mu_\alpha&#039;L_z)\Delta{z}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Equaling the absorption and assuming the absorpsivity of FAD is small (&amp;lt;math&amp;gt;\mu_\alpha L_z\ll1&amp;lt;/math&amp;gt;), one can extract an approximate expression for the equivalent absorpsivity:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;    \mu_\alpha&#039; = \frac{1}{L_z}\log(\frac{L_z}{\Delta{z}}). &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using the equivalent absorpsivity correction, the total absorption is the same. In addition, the blue photon absorbed by FAD will result in the fluorescence emission, such that the correct FAD fluorescence activity can be simulated.&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
&lt;br /&gt;
The properties of the dysplastic region directly determines the fluorescence signal. Here, the properties refer to the geometry size, shape, the fluorophore concentration, and the location inside the skin tissue. Below, we will carry out a few computational and numerical experiments to qualitatively describe the dependence between the fluorescence signal strength and these factors. The simulation is conducted based on MCMatlab Fluorescence Monte Carlo simulation package. &lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Width ===&lt;br /&gt;
[[File:results1_updated.png|700px|thumb|center| (a) Schematic of the geometry, which is defined as a one-dimensional variation in FAD concentration with a low concentration at the central part representing the dysplastic region. (b) The actual fluorescence signal measured as a function of x position. The contrast signal is extracted as the ratio between the magnitude of the dip and the maximum signal level. (c) The dependence betweewn the width of the dysplastic region and the fluorescence contrast signal. (d) The measured fluorescence signal for each width value with an increasing width from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
For the first study, the simulated geometry is defined as a one-dimensional concentration variation in &amp;quot;x&amp;quot; as shown in the figure above with a lower FAD concentration at the central region representing the dysplastic region. The width of the dysplastic region is swept and the output fluorescence contrast signal is measured. It is shown that the contrast signal first goes up, then saturates at w~0.35 mm. At small width values, the signals are mixed up from the two edges where the concentration changes sharply, so that one cannot resolve the full contrast signal. When the two edges are separated sufficiently far, the full signal can be resolved, giving a relative fluorescence contrast as 0.3.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Depth ===&lt;br /&gt;
Next, the qualitative relation is studied between the depth of the dysplastic region inside the skin and the fluorescence contrast signal. In this case, the geometry is defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm and the thickness to 0.1 mm. The depth is set as the swept parameter, and it is defined as the distance between the top surface of the epidermis layer and the top surface of the rectangular wire. &lt;br /&gt;
&lt;br /&gt;
[[File:results2_updated.png|450px|thumb|center| (a) Schematic of the geometry, where the FAD concentration inside the rectangular rod is lower, representing the dysplastic region. The depth of the rectangular wire is swept. (b) The dependence betweewn the depth of the dysplastic region and the fluorescence contrast signal. The red dashed line illustrates an exponential fitting of the simulation results. (c) The measured fluorescence signal for each depth value with an increasing depth from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that the fluorescence contrast signal decreases as the depth increases, which agrees with intuition. As for a deeper location inside the skin, it takes farther distance for the fluorescent light to travel out, therefore the distortion introduced by the scattering events as the light propagates through the skin tissue is stronger. In addition, the attenuation from both scattering and absorption is stronger as well, which further reduces the SNR. For depth greater than 0.1 mm, the contrast signal strength is nearly vanishing.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the FAD Concentration Difference ===&lt;br /&gt;
Similarly, the strength of the contrast signal should also be a function of the concentration difference of FAD between the dysplastic and the healthy tissue. The geometry is again defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm, the thickness to 0.1 mm, and the depth is set to 0.04 mm. The volumetric concentration of FAD in the healthy region is fixed to 0.2 while the FAD concentration in the dysplastic region is varied from 0 to 0.2. &lt;br /&gt;
&lt;br /&gt;
[[File:results32_updated.png|700px|thumb|center| (a,c) Schematic of the geometry, (a) has a shallower dysplastic region while it is deeper in (c). The FAD concentration inside the rectangular rod is swept. (b,d) The dependence betweewn the concentration difference and the fluorescence contrast signal. (c) The measured fluorescence signal for each concentration value with a decreasing concentration contrast from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that for 0.04 mm as the depth, the fluorescence contrast signal is linearly proportional to the FAD concentration difference, which again agrees with intuition. The concentration difference determines the distribution in the number of fluorescence emitter, which is equivalent to the source and directly proportional to the fluorescence intensity. When increasing the depth of the rectangular wire to 0.1 mm, again the linear dependence is shown however with an overall lower amplitude, representing the decrease in the number of fluorescence emitter.&lt;br /&gt;
&lt;br /&gt;
== Conclusions ==&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
You can write math equations as follows:&lt;br /&gt;
&amp;lt;math&amp;gt;y = x^2 + 5 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can include images as follows (you will need to upload the image first using the toolbox on the left bar, using the &amp;quot;Upload file&amp;quot; link).&lt;br /&gt;
&lt;br /&gt;
[[File:Snip 20210106183207.png|200px]]&lt;/div&gt;</summary>
		<author><name>Bohan</name></author>
	</entry>
	<entry>
		<id>http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=33760</id>
		<title>Medical imaging: Simulations of reflectance and fluorescence of human tissue</title>
		<link rel="alternate" type="text/html" href="http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=33760"/>
		<updated>2023-12-18T05:57:50Z</updated>

		<summary type="html">&lt;p&gt;Bohan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
&lt;br /&gt;
== Methods ==&lt;br /&gt;
&lt;br /&gt;
=== Optical Processes in Skin Tissue ===&lt;br /&gt;
When shining light into the skin, there are multiple light-matter interaction processes happening simultaneously, including reflection, absorption, scattering, and fluorescence. Reflection refers to the back-scatter of photon at the interface between different materials when the index of refraction changes. Since the main composition of human skin is water, the variation of index of refraction is minor therefore there is negligible amount of reflection inside human skin. Absorption is an intrinsic property of light-matter interaction where the amplitude of electromagnetic field attenuates as propagating. In human skin tissue, the total absorption can be decomposed into several different components, including absorption from water, fat, melanin, and blood content, which can be cast by an empirical equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; mu_{\alpha} =BS\mu_{\alpha,oxy} + B (1-S) \mu_{\alpha,deoxy} + W\mu_{\alpha,water} + F\mu_{\alpha,fat} + M\mu_{\alpha,melanosome} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Monte Carlo Simulation ===&lt;br /&gt;
Due to the randomness nature of the scattering process and absorption process related to skin tissue, the optimal approach to simulate the skin behavior is to use Monte Carlo simuilation. Monte Carlo algorithm is a computationally algorithm that&lt;br /&gt;
&lt;br /&gt;
=== MCMatlab ===&lt;br /&gt;
&lt;br /&gt;
=== Theoretical Model Extraction ===&lt;br /&gt;
If considering the activities in the epidermis layer, when illuminated by blue light pump beam, absorption will happen in both the tissue and the FAD, which is described by a single quatity, the absorptivity &amp;lt;math&amp;gt; \mu_\alpha &amp;lt;/math&amp;gt;. In addition, FAD fluorescence is excited, and the fluorescence intensity is determined by the amount of blue photon absorbed by the FAD molecules. However, under regular material definition inside the simulation, it is impossible to separate the absorption by FAD from the absorption from the surrounding tissue, such that the actual fluorescence intensity will be inaccurate. &lt;br /&gt;
&lt;br /&gt;
[[File:model.png|400px|thumb|center|The multilayer model for fluorescence Monte Carlo simulation. ]]&lt;br /&gt;
&lt;br /&gt;
Here, the problem is solved by a multilayer model where the FAD molecules are collected into thin slabs distributed inside the medium. In this case, two different materials can be assigned and the absorption of FAD and surrounding tissue can be separated. However, by reshaping the geometry, the material absorpsivity will be correspondingly modified. Below, the equivalent absorptivity is derived to correct for this change. &lt;br /&gt;
&lt;br /&gt;
The total optical absorption can be described as:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \propto \int dV (-J)\cdot E = \int dV (-i\omega\varepsilon_0 \chi |E|^2) = \int dV \omega\varepsilon_0 \chi&#039;&#039; |E|^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;J&amp;lt;/math&amp;gt; is the current density, &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; is the electric field, &amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; is the angular frequency of light, &amp;lt;math&amp;gt; \varepsilon_0&amp;lt;/math&amp;gt;  is the free space electric permittivity, &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  is the material susceptibility, and &amp;lt;math&amp;gt;\chi&#039;&#039;&amp;lt;/math&amp;gt; is the imaginary part of &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  representing the optical absorption of a certain material. Under the representation of Beer-Lambert law, the electric field penetrating in the skin can be described as an exponential decay: &amp;lt;math&amp;gt; E = E_0 \exp(-\mu_\alpha z) &amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; is the material absorpsivity in the unit of [cm]&amp;lt;math&amp;gt;^{-1}&amp;lt;/math&amp;gt;. Substituting the exponentially decaying electric field into the absorption expression and applying our one-dimensional multilayer geometry: &lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \cong A \int dz \exp(-2\mu_\alpha z) = A\frac{1-\exp(-2\mu_\alpha L_z)}{2\mu_\alpha} &amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;L_z&amp;lt;/math&amp;gt; is the total length in z direction. To have the same amount of absorption in the fluorophore when using the multilayer model, we need to equivalently adjust the optical property &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; of the material to balance the effect of shrinking the volume occupied by the fluorophore. Gathering the fluorophore into a thin slab centered at &amp;lt;math&amp;gt;L_z/2&amp;lt;/math&amp;gt;, the absorption here is:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt;  \cong A \int_{L_z/2-\Delta{z}/2}^{L_z/2+\Delta{z}/2} dz \exp(-2\mu_\alpha&#039; z)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; = A\frac{\exp(-\mu_\alpha&#039;L_z)(\exp(\mu_\alpha&#039;\Delta{z})-\exp(-\mu_\alpha&#039;\Delta{z}))}{2\mu_\alpha&#039;}\cong A\exp(-\mu_\alpha&#039;L_z)\Delta{z}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Equaling the absorption and assuming the absorpsivity of FAD is small (&amp;lt;math&amp;gt;\mu_\alpha L_z\ll1&amp;lt;/math&amp;gt;), one can extract an approximate expression for the equivalent absorpsivity:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;    \mu_\alpha&#039; = \frac{1}{L_z}\log(\frac{L_z}{\Delta{z}}). &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using the equivalent absorpsivity correction, the total absorption is the same. In addition, the blue photon absorbed by FAD will result in the fluorescence emission, such that the correct FAD fluorescence activity can be simulated.&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
&lt;br /&gt;
The properties of the dysplastic region directly determines the fluorescence signal. Here, the properties refer to the geometry size, shape, the fluorophore concentration, and the location inside the skin tissue. Below, we will carry out a few computational and numerical experiments to qualitatively describe the dependence between the fluorescence signal strength and these factors. The simulation is conducted based on MCMatlab Fluorescence Monte Carlo simulation package. &lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Width ===&lt;br /&gt;
[[File:results1_updated.png|700px|thumb|center| (a) Schematic of the geometry, which is defined as a one-dimensional variation in FAD concentration with a low concentration at the central part representing the dysplastic region. (b) The actual fluorescence signal measured as a function of x position. The contrast signal is extracted as the ratio between the magnitude of the dip and the maximum signal level. (c) The dependence betweewn the width of the dysplastic region and the fluorescence contrast signal. (d) The measured fluorescence signal for each width value with an increasing width from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
For the first study, the simulated geometry is defined as a one-dimensional concentration variation in &amp;quot;x&amp;quot; as shown in the figure above with a lower FAD concentration at the central region representing the dysplastic region. The width of the dysplastic region is swept and the output fluorescence contrast signal is measured. It is shown that the contrast signal first goes up, then saturates at w~0.35 mm. At small width values, the signals are mixed up from the two edges where the concentration changes sharply, so that one cannot resolve the full contrast signal. When the two edges are separated sufficiently far, the full signal can be resolved, giving a relative fluorescence contrast as 0.3.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Depth ===&lt;br /&gt;
Next, the qualitative relation is studied between the depth of the dysplastic region inside the skin and the fluorescence contrast signal. In this case, the geometry is defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm and the thickness to 0.1 mm. The depth is set as the swept parameter, and it is defined as the distance between the top surface of the epidermis layer and the top surface of the rectangular wire. &lt;br /&gt;
&lt;br /&gt;
[[File:results2_updated.png|450px|thumb|center| (a) Schematic of the geometry, where the FAD concentration inside the rectangular rod is lower, representing the dysplastic region. The depth of the rectangular wire is swept. (b) The dependence betweewn the depth of the dysplastic region and the fluorescence contrast signal. The red dashed line illustrates an exponential fitting of the simulation results. (c) The measured fluorescence signal for each depth value with an increasing depth from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that the fluorescence contrast signal decreases as the depth increases, which agrees with intuition. As for a deeper location inside the skin, it takes farther distance for the fluorescent light to travel out, therefore the distortion introduced by the scattering events as the light propagates through the skin tissue is stronger. In addition, the attenuation from both scattering and absorption is stronger as well, which further reduces the SNR. For depth greater than 0.1 mm, the contrast signal strength is nearly vanishing.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the FAD Concentration Difference ===&lt;br /&gt;
Similarly, the strength of the contrast signal should also be a function of the concentration difference of FAD between the dysplastic and the healthy tissue. The geometry is again defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm, the thickness to 0.1 mm, and the depth is set to 0.04 mm. The volumetric concentration of FAD in the healthy region is fixed to 0.2 while the FAD concentration in the dysplastic region is varied from 0 to 0.2. &lt;br /&gt;
&lt;br /&gt;
[[File:results32_updated.png|700px|thumb|center| (a,c) Schematic of the geometry, (a) has a shallower dysplastic region while it is deeper in (c). The FAD concentration inside the rectangular rod is swept. (b,d) The dependence betweewn the concentration difference and the fluorescence contrast signal. (c) The measured fluorescence signal for each concentration value with a decreasing concentration contrast from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that for 0.04 mm as the depth, the fluorescence contrast signal is linearly proportional to the FAD concentration difference, which again agrees with intuition. The concentration difference determines the distribution in the number of fluorescence emitter, which is equivalent to the source and directly proportional to the fluorescence intensity. When increasing the depth of the rectangular wire to 0.1 mm, again the linear dependence is shown however with an overall lower amplitude, representing the decrease in the number of fluorescence emitter.&lt;br /&gt;
&lt;br /&gt;
== Conclusions ==&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
You can write math equations as follows:&lt;br /&gt;
&amp;lt;math&amp;gt;y = x^2 + 5 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can include images as follows (you will need to upload the image first using the toolbox on the left bar, using the &amp;quot;Upload file&amp;quot; link).&lt;br /&gt;
&lt;br /&gt;
[[File:Snip 20210106183207.png|200px]]&lt;/div&gt;</summary>
		<author><name>Bohan</name></author>
	</entry>
	<entry>
		<id>http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=33759</id>
		<title>Medical imaging: Simulations of reflectance and fluorescence of human tissue</title>
		<link rel="alternate" type="text/html" href="http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=33759"/>
		<updated>2023-12-18T05:57:24Z</updated>

		<summary type="html">&lt;p&gt;Bohan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
&lt;br /&gt;
== Methods ==&lt;br /&gt;
&lt;br /&gt;
=== Optical Processes in Skin Tissue ===&lt;br /&gt;
When shining light into the skin, there are multiple light-matter interaction processes happening simultaneously, including reflection, absorption, scattering, and fluorescence. Reflection refers to the back-scatter of photon at the interface between different materials when the index of refraction changes. Since the main composition of human skin is water, the variation of index of refraction is minor therefore there is negligible amount of reflection inside human skin. Absorption is an intrinsic property of light-matter interaction where the amplitude of electromagnetic field attenuates as propagating. In human skin tissue, the total absorption can be decomposed into several different components, including absorption from water, fat, melanin, and blood content, which can be cast by an empirical equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; mu_{\alpha} =BS\mu_{\alpha,oxy} + B (1-S) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Monte Carlo Simulation ===&lt;br /&gt;
Due to the randomness nature of the scattering process and absorption process related to skin tissue, the optimal approach to simulate the skin behavior is to use Monte Carlo simuilation. Monte Carlo algorithm is a computationally algorithm that&lt;br /&gt;
&lt;br /&gt;
=== MCMatlab ===&lt;br /&gt;
&lt;br /&gt;
=== Theoretical Model Extraction ===&lt;br /&gt;
If considering the activities in the epidermis layer, when illuminated by blue light pump beam, absorption will happen in both the tissue and the FAD, which is described by a single quatity, the absorptivity &amp;lt;math&amp;gt; \mu_\alpha &amp;lt;/math&amp;gt;. In addition, FAD fluorescence is excited, and the fluorescence intensity is determined by the amount of blue photon absorbed by the FAD molecules. However, under regular material definition inside the simulation, it is impossible to separate the absorption by FAD from the absorption from the surrounding tissue, such that the actual fluorescence intensity will be inaccurate. &lt;br /&gt;
&lt;br /&gt;
[[File:model.png|400px|thumb|center|The multilayer model for fluorescence Monte Carlo simulation. ]]&lt;br /&gt;
&lt;br /&gt;
Here, the problem is solved by a multilayer model where the FAD molecules are collected into thin slabs distributed inside the medium. In this case, two different materials can be assigned and the absorption of FAD and surrounding tissue can be separated. However, by reshaping the geometry, the material absorpsivity will be correspondingly modified. Below, the equivalent absorptivity is derived to correct for this change. &lt;br /&gt;
&lt;br /&gt;
The total optical absorption can be described as:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \propto \int dV (-J)\cdot E = \int dV (-i\omega\varepsilon_0 \chi |E|^2) = \int dV \omega\varepsilon_0 \chi&#039;&#039; |E|^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;J&amp;lt;/math&amp;gt; is the current density, &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; is the electric field, &amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; is the angular frequency of light, &amp;lt;math&amp;gt; \varepsilon_0&amp;lt;/math&amp;gt;  is the free space electric permittivity, &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  is the material susceptibility, and &amp;lt;math&amp;gt;\chi&#039;&#039;&amp;lt;/math&amp;gt; is the imaginary part of &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  representing the optical absorption of a certain material. Under the representation of Beer-Lambert law, the electric field penetrating in the skin can be described as an exponential decay: &amp;lt;math&amp;gt; E = E_0 \exp(-\mu_\alpha z) &amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; is the material absorpsivity in the unit of [cm]&amp;lt;math&amp;gt;^{-1}&amp;lt;/math&amp;gt;. Substituting the exponentially decaying electric field into the absorption expression and applying our one-dimensional multilayer geometry: &lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \cong A \int dz \exp(-2\mu_\alpha z) = A\frac{1-\exp(-2\mu_\alpha L_z)}{2\mu_\alpha} &amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;L_z&amp;lt;/math&amp;gt; is the total length in z direction. To have the same amount of absorption in the fluorophore when using the multilayer model, we need to equivalently adjust the optical property &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; of the material to balance the effect of shrinking the volume occupied by the fluorophore. Gathering the fluorophore into a thin slab centered at &amp;lt;math&amp;gt;L_z/2&amp;lt;/math&amp;gt;, the absorption here is:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt;  \cong A \int_{L_z/2-\Delta{z}/2}^{L_z/2+\Delta{z}/2} dz \exp(-2\mu_\alpha&#039; z)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; = A\frac{\exp(-\mu_\alpha&#039;L_z)(\exp(\mu_\alpha&#039;\Delta{z})-\exp(-\mu_\alpha&#039;\Delta{z}))}{2\mu_\alpha&#039;}\cong A\exp(-\mu_\alpha&#039;L_z)\Delta{z}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Equaling the absorption and assuming the absorpsivity of FAD is small (&amp;lt;math&amp;gt;\mu_\alpha L_z\ll1&amp;lt;/math&amp;gt;), one can extract an approximate expression for the equivalent absorpsivity:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;    \mu_\alpha&#039; = \frac{1}{L_z}\log(\frac{L_z}{\Delta{z}}). &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using the equivalent absorpsivity correction, the total absorption is the same. In addition, the blue photon absorbed by FAD will result in the fluorescence emission, such that the correct FAD fluorescence activity can be simulated.&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
&lt;br /&gt;
The properties of the dysplastic region directly determines the fluorescence signal. Here, the properties refer to the geometry size, shape, the fluorophore concentration, and the location inside the skin tissue. Below, we will carry out a few computational and numerical experiments to qualitatively describe the dependence between the fluorescence signal strength and these factors. The simulation is conducted based on MCMatlab Fluorescence Monte Carlo simulation package. &lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Width ===&lt;br /&gt;
[[File:results1_updated.png|700px|thumb|center| (a) Schematic of the geometry, which is defined as a one-dimensional variation in FAD concentration with a low concentration at the central part representing the dysplastic region. (b) The actual fluorescence signal measured as a function of x position. The contrast signal is extracted as the ratio between the magnitude of the dip and the maximum signal level. (c) The dependence betweewn the width of the dysplastic region and the fluorescence contrast signal. (d) The measured fluorescence signal for each width value with an increasing width from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
For the first study, the simulated geometry is defined as a one-dimensional concentration variation in &amp;quot;x&amp;quot; as shown in the figure above with a lower FAD concentration at the central region representing the dysplastic region. The width of the dysplastic region is swept and the output fluorescence contrast signal is measured. It is shown that the contrast signal first goes up, then saturates at w~0.35 mm. At small width values, the signals are mixed up from the two edges where the concentration changes sharply, so that one cannot resolve the full contrast signal. When the two edges are separated sufficiently far, the full signal can be resolved, giving a relative fluorescence contrast as 0.3.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Depth ===&lt;br /&gt;
Next, the qualitative relation is studied between the depth of the dysplastic region inside the skin and the fluorescence contrast signal. In this case, the geometry is defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm and the thickness to 0.1 mm. The depth is set as the swept parameter, and it is defined as the distance between the top surface of the epidermis layer and the top surface of the rectangular wire. &lt;br /&gt;
&lt;br /&gt;
[[File:results2_updated.png|450px|thumb|center| (a) Schematic of the geometry, where the FAD concentration inside the rectangular rod is lower, representing the dysplastic region. The depth of the rectangular wire is swept. (b) The dependence betweewn the depth of the dysplastic region and the fluorescence contrast signal. The red dashed line illustrates an exponential fitting of the simulation results. (c) The measured fluorescence signal for each depth value with an increasing depth from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that the fluorescence contrast signal decreases as the depth increases, which agrees with intuition. As for a deeper location inside the skin, it takes farther distance for the fluorescent light to travel out, therefore the distortion introduced by the scattering events as the light propagates through the skin tissue is stronger. In addition, the attenuation from both scattering and absorption is stronger as well, which further reduces the SNR. For depth greater than 0.1 mm, the contrast signal strength is nearly vanishing.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the FAD Concentration Difference ===&lt;br /&gt;
Similarly, the strength of the contrast signal should also be a function of the concentration difference of FAD between the dysplastic and the healthy tissue. The geometry is again defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm, the thickness to 0.1 mm, and the depth is set to 0.04 mm. The volumetric concentration of FAD in the healthy region is fixed to 0.2 while the FAD concentration in the dysplastic region is varied from 0 to 0.2. &lt;br /&gt;
&lt;br /&gt;
[[File:results32_updated.png|700px|thumb|center| (a,c) Schematic of the geometry, (a) has a shallower dysplastic region while it is deeper in (c). The FAD concentration inside the rectangular rod is swept. (b,d) The dependence betweewn the concentration difference and the fluorescence contrast signal. (c) The measured fluorescence signal for each concentration value with a decreasing concentration contrast from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that for 0.04 mm as the depth, the fluorescence contrast signal is linearly proportional to the FAD concentration difference, which again agrees with intuition. The concentration difference determines the distribution in the number of fluorescence emitter, which is equivalent to the source and directly proportional to the fluorescence intensity. When increasing the depth of the rectangular wire to 0.1 mm, again the linear dependence is shown however with an overall lower amplitude, representing the decrease in the number of fluorescence emitter.&lt;br /&gt;
&lt;br /&gt;
== Conclusions ==&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
You can write math equations as follows:&lt;br /&gt;
&amp;lt;math&amp;gt;y = x^2 + 5 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can include images as follows (you will need to upload the image first using the toolbox on the left bar, using the &amp;quot;Upload file&amp;quot; link).&lt;br /&gt;
&lt;br /&gt;
[[File:Snip 20210106183207.png|200px]]&lt;/div&gt;</summary>
		<author><name>Bohan</name></author>
	</entry>
	<entry>
		<id>http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=33758</id>
		<title>Medical imaging: Simulations of reflectance and fluorescence of human tissue</title>
		<link rel="alternate" type="text/html" href="http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=33758"/>
		<updated>2023-12-18T05:56:48Z</updated>

		<summary type="html">&lt;p&gt;Bohan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
&lt;br /&gt;
== Methods ==&lt;br /&gt;
&lt;br /&gt;
=== Optical Processes in Skin Tissue ===&lt;br /&gt;
When shining light into the skin, there are multiple light-matter interaction processes happening simultaneously, including reflection, absorption, scattering, and fluorescence. Reflection refers to the back-scatter of photon at the interface between different materials when the index of refraction changes. Since the main composition of human skin is water, the variation of index of refraction is minor therefore there is negligible amount of reflection inside human skin. Absorption is an intrinsic property of light-matter interaction where the amplitude of electromagnetic field attenuates as propagating. In human skin tissue, the total absorption can be decomposed into several different components, including absorption from water, fat, melanin, and blood content, which can be cast by an empirical equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; mu_{\alpha} =BS\mu_{\alpha,oxy} +B(1−S) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Monte Carlo Simulation ===&lt;br /&gt;
Due to the randomness nature of the scattering process and absorption process related to skin tissue, the optimal approach to simulate the skin behavior is to use Monte Carlo simuilation. Monte Carlo algorithm is a computationally algorithm that&lt;br /&gt;
&lt;br /&gt;
=== MCMatlab ===&lt;br /&gt;
&lt;br /&gt;
=== Theoretical Model Extraction ===&lt;br /&gt;
If considering the activities in the epidermis layer, when illuminated by blue light pump beam, absorption will happen in both the tissue and the FAD, which is described by a single quatity, the absorptivity &amp;lt;math&amp;gt; \mu_\alpha &amp;lt;/math&amp;gt;. In addition, FAD fluorescence is excited, and the fluorescence intensity is determined by the amount of blue photon absorbed by the FAD molecules. However, under regular material definition inside the simulation, it is impossible to separate the absorption by FAD from the absorption from the surrounding tissue, such that the actual fluorescence intensity will be inaccurate. &lt;br /&gt;
&lt;br /&gt;
[[File:model.png|400px|thumb|center|The multilayer model for fluorescence Monte Carlo simulation. ]]&lt;br /&gt;
&lt;br /&gt;
Here, the problem is solved by a multilayer model where the FAD molecules are collected into thin slabs distributed inside the medium. In this case, two different materials can be assigned and the absorption of FAD and surrounding tissue can be separated. However, by reshaping the geometry, the material absorpsivity will be correspondingly modified. Below, the equivalent absorptivity is derived to correct for this change. &lt;br /&gt;
&lt;br /&gt;
The total optical absorption can be described as:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \propto \int dV (-J)\cdot E = \int dV (-i\omega\varepsilon_0 \chi |E|^2) = \int dV \omega\varepsilon_0 \chi&#039;&#039; |E|^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;J&amp;lt;/math&amp;gt; is the current density, &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; is the electric field, &amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; is the angular frequency of light, &amp;lt;math&amp;gt; \varepsilon_0&amp;lt;/math&amp;gt;  is the free space electric permittivity, &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  is the material susceptibility, and &amp;lt;math&amp;gt;\chi&#039;&#039;&amp;lt;/math&amp;gt; is the imaginary part of &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  representing the optical absorption of a certain material. Under the representation of Beer-Lambert law, the electric field penetrating in the skin can be described as an exponential decay: &amp;lt;math&amp;gt; E = E_0 \exp(-\mu_\alpha z) &amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; is the material absorpsivity in the unit of [cm]&amp;lt;math&amp;gt;^{-1}&amp;lt;/math&amp;gt;. Substituting the exponentially decaying electric field into the absorption expression and applying our one-dimensional multilayer geometry: &lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \cong A \int dz \exp(-2\mu_\alpha z) = A\frac{1-\exp(-2\mu_\alpha L_z)}{2\mu_\alpha} &amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;L_z&amp;lt;/math&amp;gt; is the total length in z direction. To have the same amount of absorption in the fluorophore when using the multilayer model, we need to equivalently adjust the optical property &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; of the material to balance the effect of shrinking the volume occupied by the fluorophore. Gathering the fluorophore into a thin slab centered at &amp;lt;math&amp;gt;L_z/2&amp;lt;/math&amp;gt;, the absorption here is:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt;  \cong A \int_{L_z/2-\Delta{z}/2}^{L_z/2+\Delta{z}/2} dz \exp(-2\mu_\alpha&#039; z)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; = A\frac{\exp(-\mu_\alpha&#039;L_z)(\exp(\mu_\alpha&#039;\Delta{z})-\exp(-\mu_\alpha&#039;\Delta{z}))}{2\mu_\alpha&#039;}\cong A\exp(-\mu_\alpha&#039;L_z)\Delta{z}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Equaling the absorption and assuming the absorpsivity of FAD is small (&amp;lt;math&amp;gt;\mu_\alpha L_z\ll1&amp;lt;/math&amp;gt;), one can extract an approximate expression for the equivalent absorpsivity:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;    \mu_\alpha&#039; = \frac{1}{L_z}\log(\frac{L_z}{\Delta{z}}). &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using the equivalent absorpsivity correction, the total absorption is the same. In addition, the blue photon absorbed by FAD will result in the fluorescence emission, such that the correct FAD fluorescence activity can be simulated.&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
&lt;br /&gt;
The properties of the dysplastic region directly determines the fluorescence signal. Here, the properties refer to the geometry size, shape, the fluorophore concentration, and the location inside the skin tissue. Below, we will carry out a few computational and numerical experiments to qualitatively describe the dependence between the fluorescence signal strength and these factors. The simulation is conducted based on MCMatlab Fluorescence Monte Carlo simulation package. &lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Width ===&lt;br /&gt;
[[File:results1_updated.png|700px|thumb|center| (a) Schematic of the geometry, which is defined as a one-dimensional variation in FAD concentration with a low concentration at the central part representing the dysplastic region. (b) The actual fluorescence signal measured as a function of x position. The contrast signal is extracted as the ratio between the magnitude of the dip and the maximum signal level. (c) The dependence betweewn the width of the dysplastic region and the fluorescence contrast signal. (d) The measured fluorescence signal for each width value with an increasing width from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
For the first study, the simulated geometry is defined as a one-dimensional concentration variation in &amp;quot;x&amp;quot; as shown in the figure above with a lower FAD concentration at the central region representing the dysplastic region. The width of the dysplastic region is swept and the output fluorescence contrast signal is measured. It is shown that the contrast signal first goes up, then saturates at w~0.35 mm. At small width values, the signals are mixed up from the two edges where the concentration changes sharply, so that one cannot resolve the full contrast signal. When the two edges are separated sufficiently far, the full signal can be resolved, giving a relative fluorescence contrast as 0.3.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Depth ===&lt;br /&gt;
Next, the qualitative relation is studied between the depth of the dysplastic region inside the skin and the fluorescence contrast signal. In this case, the geometry is defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm and the thickness to 0.1 mm. The depth is set as the swept parameter, and it is defined as the distance between the top surface of the epidermis layer and the top surface of the rectangular wire. &lt;br /&gt;
&lt;br /&gt;
[[File:results2_updated.png|450px|thumb|center| (a) Schematic of the geometry, where the FAD concentration inside the rectangular rod is lower, representing the dysplastic region. The depth of the rectangular wire is swept. (b) The dependence betweewn the depth of the dysplastic region and the fluorescence contrast signal. The red dashed line illustrates an exponential fitting of the simulation results. (c) The measured fluorescence signal for each depth value with an increasing depth from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that the fluorescence contrast signal decreases as the depth increases, which agrees with intuition. As for a deeper location inside the skin, it takes farther distance for the fluorescent light to travel out, therefore the distortion introduced by the scattering events as the light propagates through the skin tissue is stronger. In addition, the attenuation from both scattering and absorption is stronger as well, which further reduces the SNR. For depth greater than 0.1 mm, the contrast signal strength is nearly vanishing.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the FAD Concentration Difference ===&lt;br /&gt;
Similarly, the strength of the contrast signal should also be a function of the concentration difference of FAD between the dysplastic and the healthy tissue. The geometry is again defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm, the thickness to 0.1 mm, and the depth is set to 0.04 mm. The volumetric concentration of FAD in the healthy region is fixed to 0.2 while the FAD concentration in the dysplastic region is varied from 0 to 0.2. &lt;br /&gt;
&lt;br /&gt;
[[File:results32_updated.png|700px|thumb|center| (a,c) Schematic of the geometry, (a) has a shallower dysplastic region while it is deeper in (c). The FAD concentration inside the rectangular rod is swept. (b,d) The dependence betweewn the concentration difference and the fluorescence contrast signal. (c) The measured fluorescence signal for each concentration value with a decreasing concentration contrast from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that for 0.04 mm as the depth, the fluorescence contrast signal is linearly proportional to the FAD concentration difference, which again agrees with intuition. The concentration difference determines the distribution in the number of fluorescence emitter, which is equivalent to the source and directly proportional to the fluorescence intensity. When increasing the depth of the rectangular wire to 0.1 mm, again the linear dependence is shown however with an overall lower amplitude, representing the decrease in the number of fluorescence emitter.&lt;br /&gt;
&lt;br /&gt;
== Conclusions ==&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
You can write math equations as follows:&lt;br /&gt;
&amp;lt;math&amp;gt;y = x^2 + 5 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can include images as follows (you will need to upload the image first using the toolbox on the left bar, using the &amp;quot;Upload file&amp;quot; link).&lt;br /&gt;
&lt;br /&gt;
[[File:Snip 20210106183207.png|200px]]&lt;/div&gt;</summary>
		<author><name>Bohan</name></author>
	</entry>
	<entry>
		<id>http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=33757</id>
		<title>Medical imaging: Simulations of reflectance and fluorescence of human tissue</title>
		<link rel="alternate" type="text/html" href="http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=33757"/>
		<updated>2023-12-18T05:56:28Z</updated>

		<summary type="html">&lt;p&gt;Bohan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
&lt;br /&gt;
== Methods ==&lt;br /&gt;
&lt;br /&gt;
=== Optical Processes in Skin Tissue ===&lt;br /&gt;
When shining light into the skin, there are multiple light-matter interaction processes happening simultaneously, including reflection, absorption, scattering, and fluorescence. Reflection refers to the back-scatter of photon at the interface between different materials when the index of refraction changes. Since the main composition of human skin is water, the variation of index of refraction is minor therefore there is negligible amount of reflection inside human skin. Absorption is an intrinsic property of light-matter interaction where the amplitude of electromagnetic field attenuates as propagating. In human skin tissue, the total absorption can be decomposed into several different components, including absorption from water, fat, melanin, and blood content, which can be cast by an empirical equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; mu_{\alpha} =BS\mu_{\alpha,oxy} +B(1−S)\mu_{\alpha,deoxy} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Monte Carlo Simulation ===&lt;br /&gt;
Due to the randomness nature of the scattering process and absorption process related to skin tissue, the optimal approach to simulate the skin behavior is to use Monte Carlo simuilation. Monte Carlo algorithm is a computationally algorithm that&lt;br /&gt;
&lt;br /&gt;
=== MCMatlab ===&lt;br /&gt;
&lt;br /&gt;
=== Theoretical Model Extraction ===&lt;br /&gt;
If considering the activities in the epidermis layer, when illuminated by blue light pump beam, absorption will happen in both the tissue and the FAD, which is described by a single quatity, the absorptivity &amp;lt;math&amp;gt; \mu_\alpha &amp;lt;/math&amp;gt;. In addition, FAD fluorescence is excited, and the fluorescence intensity is determined by the amount of blue photon absorbed by the FAD molecules. However, under regular material definition inside the simulation, it is impossible to separate the absorption by FAD from the absorption from the surrounding tissue, such that the actual fluorescence intensity will be inaccurate. &lt;br /&gt;
&lt;br /&gt;
[[File:model.png|400px|thumb|center|The multilayer model for fluorescence Monte Carlo simulation. ]]&lt;br /&gt;
&lt;br /&gt;
Here, the problem is solved by a multilayer model where the FAD molecules are collected into thin slabs distributed inside the medium. In this case, two different materials can be assigned and the absorption of FAD and surrounding tissue can be separated. However, by reshaping the geometry, the material absorpsivity will be correspondingly modified. Below, the equivalent absorptivity is derived to correct for this change. &lt;br /&gt;
&lt;br /&gt;
The total optical absorption can be described as:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \propto \int dV (-J)\cdot E = \int dV (-i\omega\varepsilon_0 \chi |E|^2) = \int dV \omega\varepsilon_0 \chi&#039;&#039; |E|^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;J&amp;lt;/math&amp;gt; is the current density, &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; is the electric field, &amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; is the angular frequency of light, &amp;lt;math&amp;gt; \varepsilon_0&amp;lt;/math&amp;gt;  is the free space electric permittivity, &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  is the material susceptibility, and &amp;lt;math&amp;gt;\chi&#039;&#039;&amp;lt;/math&amp;gt; is the imaginary part of &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  representing the optical absorption of a certain material. Under the representation of Beer-Lambert law, the electric field penetrating in the skin can be described as an exponential decay: &amp;lt;math&amp;gt; E = E_0 \exp(-\mu_\alpha z) &amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; is the material absorpsivity in the unit of [cm]&amp;lt;math&amp;gt;^{-1}&amp;lt;/math&amp;gt;. Substituting the exponentially decaying electric field into the absorption expression and applying our one-dimensional multilayer geometry: &lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \cong A \int dz \exp(-2\mu_\alpha z) = A\frac{1-\exp(-2\mu_\alpha L_z)}{2\mu_\alpha} &amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;L_z&amp;lt;/math&amp;gt; is the total length in z direction. To have the same amount of absorption in the fluorophore when using the multilayer model, we need to equivalently adjust the optical property &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; of the material to balance the effect of shrinking the volume occupied by the fluorophore. Gathering the fluorophore into a thin slab centered at &amp;lt;math&amp;gt;L_z/2&amp;lt;/math&amp;gt;, the absorption here is:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt;  \cong A \int_{L_z/2-\Delta{z}/2}^{L_z/2+\Delta{z}/2} dz \exp(-2\mu_\alpha&#039; z)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; = A\frac{\exp(-\mu_\alpha&#039;L_z)(\exp(\mu_\alpha&#039;\Delta{z})-\exp(-\mu_\alpha&#039;\Delta{z}))}{2\mu_\alpha&#039;}\cong A\exp(-\mu_\alpha&#039;L_z)\Delta{z}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Equaling the absorption and assuming the absorpsivity of FAD is small (&amp;lt;math&amp;gt;\mu_\alpha L_z\ll1&amp;lt;/math&amp;gt;), one can extract an approximate expression for the equivalent absorpsivity:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;    \mu_\alpha&#039; = \frac{1}{L_z}\log(\frac{L_z}{\Delta{z}}). &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using the equivalent absorpsivity correction, the total absorption is the same. In addition, the blue photon absorbed by FAD will result in the fluorescence emission, such that the correct FAD fluorescence activity can be simulated.&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
&lt;br /&gt;
The properties of the dysplastic region directly determines the fluorescence signal. Here, the properties refer to the geometry size, shape, the fluorophore concentration, and the location inside the skin tissue. Below, we will carry out a few computational and numerical experiments to qualitatively describe the dependence between the fluorescence signal strength and these factors. The simulation is conducted based on MCMatlab Fluorescence Monte Carlo simulation package. &lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Width ===&lt;br /&gt;
[[File:results1_updated.png|700px|thumb|center| (a) Schematic of the geometry, which is defined as a one-dimensional variation in FAD concentration with a low concentration at the central part representing the dysplastic region. (b) The actual fluorescence signal measured as a function of x position. The contrast signal is extracted as the ratio between the magnitude of the dip and the maximum signal level. (c) The dependence betweewn the width of the dysplastic region and the fluorescence contrast signal. (d) The measured fluorescence signal for each width value with an increasing width from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
For the first study, the simulated geometry is defined as a one-dimensional concentration variation in &amp;quot;x&amp;quot; as shown in the figure above with a lower FAD concentration at the central region representing the dysplastic region. The width of the dysplastic region is swept and the output fluorescence contrast signal is measured. It is shown that the contrast signal first goes up, then saturates at w~0.35 mm. At small width values, the signals are mixed up from the two edges where the concentration changes sharply, so that one cannot resolve the full contrast signal. When the two edges are separated sufficiently far, the full signal can be resolved, giving a relative fluorescence contrast as 0.3.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Depth ===&lt;br /&gt;
Next, the qualitative relation is studied between the depth of the dysplastic region inside the skin and the fluorescence contrast signal. In this case, the geometry is defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm and the thickness to 0.1 mm. The depth is set as the swept parameter, and it is defined as the distance between the top surface of the epidermis layer and the top surface of the rectangular wire. &lt;br /&gt;
&lt;br /&gt;
[[File:results2_updated.png|450px|thumb|center| (a) Schematic of the geometry, where the FAD concentration inside the rectangular rod is lower, representing the dysplastic region. The depth of the rectangular wire is swept. (b) The dependence betweewn the depth of the dysplastic region and the fluorescence contrast signal. The red dashed line illustrates an exponential fitting of the simulation results. (c) The measured fluorescence signal for each depth value with an increasing depth from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that the fluorescence contrast signal decreases as the depth increases, which agrees with intuition. As for a deeper location inside the skin, it takes farther distance for the fluorescent light to travel out, therefore the distortion introduced by the scattering events as the light propagates through the skin tissue is stronger. In addition, the attenuation from both scattering and absorption is stronger as well, which further reduces the SNR. For depth greater than 0.1 mm, the contrast signal strength is nearly vanishing.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the FAD Concentration Difference ===&lt;br /&gt;
Similarly, the strength of the contrast signal should also be a function of the concentration difference of FAD between the dysplastic and the healthy tissue. The geometry is again defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm, the thickness to 0.1 mm, and the depth is set to 0.04 mm. The volumetric concentration of FAD in the healthy region is fixed to 0.2 while the FAD concentration in the dysplastic region is varied from 0 to 0.2. &lt;br /&gt;
&lt;br /&gt;
[[File:results32_updated.png|700px|thumb|center| (a,c) Schematic of the geometry, (a) has a shallower dysplastic region while it is deeper in (c). The FAD concentration inside the rectangular rod is swept. (b,d) The dependence betweewn the concentration difference and the fluorescence contrast signal. (c) The measured fluorescence signal for each concentration value with a decreasing concentration contrast from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that for 0.04 mm as the depth, the fluorescence contrast signal is linearly proportional to the FAD concentration difference, which again agrees with intuition. The concentration difference determines the distribution in the number of fluorescence emitter, which is equivalent to the source and directly proportional to the fluorescence intensity. When increasing the depth of the rectangular wire to 0.1 mm, again the linear dependence is shown however with an overall lower amplitude, representing the decrease in the number of fluorescence emitter.&lt;br /&gt;
&lt;br /&gt;
== Conclusions ==&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
You can write math equations as follows:&lt;br /&gt;
&amp;lt;math&amp;gt;y = x^2 + 5 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can include images as follows (you will need to upload the image first using the toolbox on the left bar, using the &amp;quot;Upload file&amp;quot; link).&lt;br /&gt;
&lt;br /&gt;
[[File:Snip 20210106183207.png|200px]]&lt;/div&gt;</summary>
		<author><name>Bohan</name></author>
	</entry>
	<entry>
		<id>http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=33756</id>
		<title>Medical imaging: Simulations of reflectance and fluorescence of human tissue</title>
		<link rel="alternate" type="text/html" href="http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=33756"/>
		<updated>2023-12-18T05:56:15Z</updated>

		<summary type="html">&lt;p&gt;Bohan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
&lt;br /&gt;
== Methods ==&lt;br /&gt;
&lt;br /&gt;
=== Optical Processes in Skin Tissue ===&lt;br /&gt;
When shining light into the skin, there are multiple light-matter interaction processes happening simultaneously, including reflection, absorption, scattering, and fluorescence. Reflection refers to the back-scatter of photon at the interface between different materials when the index of refraction changes. Since the main composition of human skin is water, the variation of index of refraction is minor therefore there is negligible amount of reflection inside human skin. Absorption is an intrinsic property of light-matter interaction where the amplitude of electromagnetic field attenuates as propagating. In human skin tissue, the total absorption can be decomposed into several different components, including absorption from water, fat, melanin, and blood content, which can be cast by an empirical equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; mu_{\alpha} =BS\mu_{\alpha,oxy} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Monte Carlo Simulation ===&lt;br /&gt;
Due to the randomness nature of the scattering process and absorption process related to skin tissue, the optimal approach to simulate the skin behavior is to use Monte Carlo simuilation. Monte Carlo algorithm is a computationally algorithm that&lt;br /&gt;
&lt;br /&gt;
=== MCMatlab ===&lt;br /&gt;
&lt;br /&gt;
=== Theoretical Model Extraction ===&lt;br /&gt;
If considering the activities in the epidermis layer, when illuminated by blue light pump beam, absorption will happen in both the tissue and the FAD, which is described by a single quatity, the absorptivity &amp;lt;math&amp;gt; \mu_\alpha &amp;lt;/math&amp;gt;. In addition, FAD fluorescence is excited, and the fluorescence intensity is determined by the amount of blue photon absorbed by the FAD molecules. However, under regular material definition inside the simulation, it is impossible to separate the absorption by FAD from the absorption from the surrounding tissue, such that the actual fluorescence intensity will be inaccurate. &lt;br /&gt;
&lt;br /&gt;
[[File:model.png|400px|thumb|center|The multilayer model for fluorescence Monte Carlo simulation. ]]&lt;br /&gt;
&lt;br /&gt;
Here, the problem is solved by a multilayer model where the FAD molecules are collected into thin slabs distributed inside the medium. In this case, two different materials can be assigned and the absorption of FAD and surrounding tissue can be separated. However, by reshaping the geometry, the material absorpsivity will be correspondingly modified. Below, the equivalent absorptivity is derived to correct for this change. &lt;br /&gt;
&lt;br /&gt;
The total optical absorption can be described as:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \propto \int dV (-J)\cdot E = \int dV (-i\omega\varepsilon_0 \chi |E|^2) = \int dV \omega\varepsilon_0 \chi&#039;&#039; |E|^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;J&amp;lt;/math&amp;gt; is the current density, &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; is the electric field, &amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; is the angular frequency of light, &amp;lt;math&amp;gt; \varepsilon_0&amp;lt;/math&amp;gt;  is the free space electric permittivity, &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  is the material susceptibility, and &amp;lt;math&amp;gt;\chi&#039;&#039;&amp;lt;/math&amp;gt; is the imaginary part of &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  representing the optical absorption of a certain material. Under the representation of Beer-Lambert law, the electric field penetrating in the skin can be described as an exponential decay: &amp;lt;math&amp;gt; E = E_0 \exp(-\mu_\alpha z) &amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; is the material absorpsivity in the unit of [cm]&amp;lt;math&amp;gt;^{-1}&amp;lt;/math&amp;gt;. Substituting the exponentially decaying electric field into the absorption expression and applying our one-dimensional multilayer geometry: &lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \cong A \int dz \exp(-2\mu_\alpha z) = A\frac{1-\exp(-2\mu_\alpha L_z)}{2\mu_\alpha} &amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;L_z&amp;lt;/math&amp;gt; is the total length in z direction. To have the same amount of absorption in the fluorophore when using the multilayer model, we need to equivalently adjust the optical property &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; of the material to balance the effect of shrinking the volume occupied by the fluorophore. Gathering the fluorophore into a thin slab centered at &amp;lt;math&amp;gt;L_z/2&amp;lt;/math&amp;gt;, the absorption here is:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt;  \cong A \int_{L_z/2-\Delta{z}/2}^{L_z/2+\Delta{z}/2} dz \exp(-2\mu_\alpha&#039; z)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; = A\frac{\exp(-\mu_\alpha&#039;L_z)(\exp(\mu_\alpha&#039;\Delta{z})-\exp(-\mu_\alpha&#039;\Delta{z}))}{2\mu_\alpha&#039;}\cong A\exp(-\mu_\alpha&#039;L_z)\Delta{z}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Equaling the absorption and assuming the absorpsivity of FAD is small (&amp;lt;math&amp;gt;\mu_\alpha L_z\ll1&amp;lt;/math&amp;gt;), one can extract an approximate expression for the equivalent absorpsivity:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;    \mu_\alpha&#039; = \frac{1}{L_z}\log(\frac{L_z}{\Delta{z}}). &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using the equivalent absorpsivity correction, the total absorption is the same. In addition, the blue photon absorbed by FAD will result in the fluorescence emission, such that the correct FAD fluorescence activity can be simulated.&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
&lt;br /&gt;
The properties of the dysplastic region directly determines the fluorescence signal. Here, the properties refer to the geometry size, shape, the fluorophore concentration, and the location inside the skin tissue. Below, we will carry out a few computational and numerical experiments to qualitatively describe the dependence between the fluorescence signal strength and these factors. The simulation is conducted based on MCMatlab Fluorescence Monte Carlo simulation package. &lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Width ===&lt;br /&gt;
[[File:results1_updated.png|700px|thumb|center| (a) Schematic of the geometry, which is defined as a one-dimensional variation in FAD concentration with a low concentration at the central part representing the dysplastic region. (b) The actual fluorescence signal measured as a function of x position. The contrast signal is extracted as the ratio between the magnitude of the dip and the maximum signal level. (c) The dependence betweewn the width of the dysplastic region and the fluorescence contrast signal. (d) The measured fluorescence signal for each width value with an increasing width from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
For the first study, the simulated geometry is defined as a one-dimensional concentration variation in &amp;quot;x&amp;quot; as shown in the figure above with a lower FAD concentration at the central region representing the dysplastic region. The width of the dysplastic region is swept and the output fluorescence contrast signal is measured. It is shown that the contrast signal first goes up, then saturates at w~0.35 mm. At small width values, the signals are mixed up from the two edges where the concentration changes sharply, so that one cannot resolve the full contrast signal. When the two edges are separated sufficiently far, the full signal can be resolved, giving a relative fluorescence contrast as 0.3.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Depth ===&lt;br /&gt;
Next, the qualitative relation is studied between the depth of the dysplastic region inside the skin and the fluorescence contrast signal. In this case, the geometry is defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm and the thickness to 0.1 mm. The depth is set as the swept parameter, and it is defined as the distance between the top surface of the epidermis layer and the top surface of the rectangular wire. &lt;br /&gt;
&lt;br /&gt;
[[File:results2_updated.png|450px|thumb|center| (a) Schematic of the geometry, where the FAD concentration inside the rectangular rod is lower, representing the dysplastic region. The depth of the rectangular wire is swept. (b) The dependence betweewn the depth of the dysplastic region and the fluorescence contrast signal. The red dashed line illustrates an exponential fitting of the simulation results. (c) The measured fluorescence signal for each depth value with an increasing depth from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that the fluorescence contrast signal decreases as the depth increases, which agrees with intuition. As for a deeper location inside the skin, it takes farther distance for the fluorescent light to travel out, therefore the distortion introduced by the scattering events as the light propagates through the skin tissue is stronger. In addition, the attenuation from both scattering and absorption is stronger as well, which further reduces the SNR. For depth greater than 0.1 mm, the contrast signal strength is nearly vanishing.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the FAD Concentration Difference ===&lt;br /&gt;
Similarly, the strength of the contrast signal should also be a function of the concentration difference of FAD between the dysplastic and the healthy tissue. The geometry is again defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm, the thickness to 0.1 mm, and the depth is set to 0.04 mm. The volumetric concentration of FAD in the healthy region is fixed to 0.2 while the FAD concentration in the dysplastic region is varied from 0 to 0.2. &lt;br /&gt;
&lt;br /&gt;
[[File:results32_updated.png|700px|thumb|center| (a,c) Schematic of the geometry, (a) has a shallower dysplastic region while it is deeper in (c). The FAD concentration inside the rectangular rod is swept. (b,d) The dependence betweewn the concentration difference and the fluorescence contrast signal. (c) The measured fluorescence signal for each concentration value with a decreasing concentration contrast from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that for 0.04 mm as the depth, the fluorescence contrast signal is linearly proportional to the FAD concentration difference, which again agrees with intuition. The concentration difference determines the distribution in the number of fluorescence emitter, which is equivalent to the source and directly proportional to the fluorescence intensity. When increasing the depth of the rectangular wire to 0.1 mm, again the linear dependence is shown however with an overall lower amplitude, representing the decrease in the number of fluorescence emitter.&lt;br /&gt;
&lt;br /&gt;
== Conclusions ==&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
You can write math equations as follows:&lt;br /&gt;
&amp;lt;math&amp;gt;y = x^2 + 5 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can include images as follows (you will need to upload the image first using the toolbox on the left bar, using the &amp;quot;Upload file&amp;quot; link).&lt;br /&gt;
&lt;br /&gt;
[[File:Snip 20210106183207.png|200px]]&lt;/div&gt;</summary>
		<author><name>Bohan</name></author>
	</entry>
	<entry>
		<id>http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=33755</id>
		<title>Medical imaging: Simulations of reflectance and fluorescence of human tissue</title>
		<link rel="alternate" type="text/html" href="http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=33755"/>
		<updated>2023-12-18T05:55:56Z</updated>

		<summary type="html">&lt;p&gt;Bohan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
&lt;br /&gt;
== Methods ==&lt;br /&gt;
&lt;br /&gt;
=== Optical Processes in Skin Tissue ===&lt;br /&gt;
When shining light into the skin, there are multiple light-matter interaction processes happening simultaneously, including reflection, absorption, scattering, and fluorescence. Reflection refers to the back-scatter of photon at the interface between different materials when the index of refraction changes. Since the main composition of human skin is water, the variation of index of refraction is minor therefore there is negligible amount of reflection inside human skin. Absorption is an intrinsic property of light-matter interaction where the amplitude of electromagnetic field attenuates as propagating. In human skin tissue, the total absorption can be decomposed into several different components, including absorption from water, fat, melanin, and blood content, which can be cast by an empirical equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; mu_{\alpha} =BS\mu_{\alpha,oxy} +B(1−S)\mu_{\alpha,deoxy} + W\mu_{\alpha,water} + F\mu_{\alpha,fat} +M\mu_{\alpha,melanosome} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Monte Carlo Simulation ===&lt;br /&gt;
Due to the randomness nature of the scattering process and absorption process related to skin tissue, the optimal approach to simulate the skin behavior is to use Monte Carlo simuilation. Monte Carlo algorithm is a computationally algorithm that&lt;br /&gt;
&lt;br /&gt;
=== MCMatlab ===&lt;br /&gt;
&lt;br /&gt;
=== Theoretical Model Extraction ===&lt;br /&gt;
If considering the activities in the epidermis layer, when illuminated by blue light pump beam, absorption will happen in both the tissue and the FAD, which is described by a single quatity, the absorptivity &amp;lt;math&amp;gt; \mu_\alpha &amp;lt;/math&amp;gt;. In addition, FAD fluorescence is excited, and the fluorescence intensity is determined by the amount of blue photon absorbed by the FAD molecules. However, under regular material definition inside the simulation, it is impossible to separate the absorption by FAD from the absorption from the surrounding tissue, such that the actual fluorescence intensity will be inaccurate. &lt;br /&gt;
&lt;br /&gt;
[[File:model.png|400px|thumb|center|The multilayer model for fluorescence Monte Carlo simulation. ]]&lt;br /&gt;
&lt;br /&gt;
Here, the problem is solved by a multilayer model where the FAD molecules are collected into thin slabs distributed inside the medium. In this case, two different materials can be assigned and the absorption of FAD and surrounding tissue can be separated. However, by reshaping the geometry, the material absorpsivity will be correspondingly modified. Below, the equivalent absorptivity is derived to correct for this change. &lt;br /&gt;
&lt;br /&gt;
The total optical absorption can be described as:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \propto \int dV (-J)\cdot E = \int dV (-i\omega\varepsilon_0 \chi |E|^2) = \int dV \omega\varepsilon_0 \chi&#039;&#039; |E|^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;J&amp;lt;/math&amp;gt; is the current density, &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; is the electric field, &amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; is the angular frequency of light, &amp;lt;math&amp;gt; \varepsilon_0&amp;lt;/math&amp;gt;  is the free space electric permittivity, &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  is the material susceptibility, and &amp;lt;math&amp;gt;\chi&#039;&#039;&amp;lt;/math&amp;gt; is the imaginary part of &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  representing the optical absorption of a certain material. Under the representation of Beer-Lambert law, the electric field penetrating in the skin can be described as an exponential decay: &amp;lt;math&amp;gt; E = E_0 \exp(-\mu_\alpha z) &amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; is the material absorpsivity in the unit of [cm]&amp;lt;math&amp;gt;^{-1}&amp;lt;/math&amp;gt;. Substituting the exponentially decaying electric field into the absorption expression and applying our one-dimensional multilayer geometry: &lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \cong A \int dz \exp(-2\mu_\alpha z) = A\frac{1-\exp(-2\mu_\alpha L_z)}{2\mu_\alpha} &amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;L_z&amp;lt;/math&amp;gt; is the total length in z direction. To have the same amount of absorption in the fluorophore when using the multilayer model, we need to equivalently adjust the optical property &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; of the material to balance the effect of shrinking the volume occupied by the fluorophore. Gathering the fluorophore into a thin slab centered at &amp;lt;math&amp;gt;L_z/2&amp;lt;/math&amp;gt;, the absorption here is:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt;  \cong A \int_{L_z/2-\Delta{z}/2}^{L_z/2+\Delta{z}/2} dz \exp(-2\mu_\alpha&#039; z)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; = A\frac{\exp(-\mu_\alpha&#039;L_z)(\exp(\mu_\alpha&#039;\Delta{z})-\exp(-\mu_\alpha&#039;\Delta{z}))}{2\mu_\alpha&#039;}\cong A\exp(-\mu_\alpha&#039;L_z)\Delta{z}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Equaling the absorption and assuming the absorpsivity of FAD is small (&amp;lt;math&amp;gt;\mu_\alpha L_z\ll1&amp;lt;/math&amp;gt;), one can extract an approximate expression for the equivalent absorpsivity:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;    \mu_\alpha&#039; = \frac{1}{L_z}\log(\frac{L_z}{\Delta{z}}). &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using the equivalent absorpsivity correction, the total absorption is the same. In addition, the blue photon absorbed by FAD will result in the fluorescence emission, such that the correct FAD fluorescence activity can be simulated.&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
&lt;br /&gt;
The properties of the dysplastic region directly determines the fluorescence signal. Here, the properties refer to the geometry size, shape, the fluorophore concentration, and the location inside the skin tissue. Below, we will carry out a few computational and numerical experiments to qualitatively describe the dependence between the fluorescence signal strength and these factors. The simulation is conducted based on MCMatlab Fluorescence Monte Carlo simulation package. &lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Width ===&lt;br /&gt;
[[File:results1_updated.png|700px|thumb|center| (a) Schematic of the geometry, which is defined as a one-dimensional variation in FAD concentration with a low concentration at the central part representing the dysplastic region. (b) The actual fluorescence signal measured as a function of x position. The contrast signal is extracted as the ratio between the magnitude of the dip and the maximum signal level. (c) The dependence betweewn the width of the dysplastic region and the fluorescence contrast signal. (d) The measured fluorescence signal for each width value with an increasing width from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
For the first study, the simulated geometry is defined as a one-dimensional concentration variation in &amp;quot;x&amp;quot; as shown in the figure above with a lower FAD concentration at the central region representing the dysplastic region. The width of the dysplastic region is swept and the output fluorescence contrast signal is measured. It is shown that the contrast signal first goes up, then saturates at w~0.35 mm. At small width values, the signals are mixed up from the two edges where the concentration changes sharply, so that one cannot resolve the full contrast signal. When the two edges are separated sufficiently far, the full signal can be resolved, giving a relative fluorescence contrast as 0.3.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Depth ===&lt;br /&gt;
Next, the qualitative relation is studied between the depth of the dysplastic region inside the skin and the fluorescence contrast signal. In this case, the geometry is defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm and the thickness to 0.1 mm. The depth is set as the swept parameter, and it is defined as the distance between the top surface of the epidermis layer and the top surface of the rectangular wire. &lt;br /&gt;
&lt;br /&gt;
[[File:results2_updated.png|450px|thumb|center| (a) Schematic of the geometry, where the FAD concentration inside the rectangular rod is lower, representing the dysplastic region. The depth of the rectangular wire is swept. (b) The dependence betweewn the depth of the dysplastic region and the fluorescence contrast signal. The red dashed line illustrates an exponential fitting of the simulation results. (c) The measured fluorescence signal for each depth value with an increasing depth from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that the fluorescence contrast signal decreases as the depth increases, which agrees with intuition. As for a deeper location inside the skin, it takes farther distance for the fluorescent light to travel out, therefore the distortion introduced by the scattering events as the light propagates through the skin tissue is stronger. In addition, the attenuation from both scattering and absorption is stronger as well, which further reduces the SNR. For depth greater than 0.1 mm, the contrast signal strength is nearly vanishing.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the FAD Concentration Difference ===&lt;br /&gt;
Similarly, the strength of the contrast signal should also be a function of the concentration difference of FAD between the dysplastic and the healthy tissue. The geometry is again defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm, the thickness to 0.1 mm, and the depth is set to 0.04 mm. The volumetric concentration of FAD in the healthy region is fixed to 0.2 while the FAD concentration in the dysplastic region is varied from 0 to 0.2. &lt;br /&gt;
&lt;br /&gt;
[[File:results32_updated.png|700px|thumb|center| (a,c) Schematic of the geometry, (a) has a shallower dysplastic region while it is deeper in (c). The FAD concentration inside the rectangular rod is swept. (b,d) The dependence betweewn the concentration difference and the fluorescence contrast signal. (c) The measured fluorescence signal for each concentration value with a decreasing concentration contrast from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that for 0.04 mm as the depth, the fluorescence contrast signal is linearly proportional to the FAD concentration difference, which again agrees with intuition. The concentration difference determines the distribution in the number of fluorescence emitter, which is equivalent to the source and directly proportional to the fluorescence intensity. When increasing the depth of the rectangular wire to 0.1 mm, again the linear dependence is shown however with an overall lower amplitude, representing the decrease in the number of fluorescence emitter.&lt;br /&gt;
&lt;br /&gt;
== Conclusions ==&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
You can write math equations as follows:&lt;br /&gt;
&amp;lt;math&amp;gt;y = x^2 + 5 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can include images as follows (you will need to upload the image first using the toolbox on the left bar, using the &amp;quot;Upload file&amp;quot; link).&lt;br /&gt;
&lt;br /&gt;
[[File:Snip 20210106183207.png|200px]]&lt;/div&gt;</summary>
		<author><name>Bohan</name></author>
	</entry>
	<entry>
		<id>http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=33754</id>
		<title>Medical imaging: Simulations of reflectance and fluorescence of human tissue</title>
		<link rel="alternate" type="text/html" href="http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=33754"/>
		<updated>2023-12-18T05:55:26Z</updated>

		<summary type="html">&lt;p&gt;Bohan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
&lt;br /&gt;
== Methods ==&lt;br /&gt;
&lt;br /&gt;
=== Optical Processes in Skin Tissue ===&lt;br /&gt;
When shining light into the skin, there are multiple light-matter interaction processes happening simultaneously, including reflection, absorption, scattering, and fluorescence. Reflection refers to the back-scatter of photon at the interface between different materials when the index of refraction changes. Since the main composition of human skin is water, the variation of index of refraction is minor therefore there is negligible amount of reflection inside human skin. Absorption is an intrinsic property of light-matter interaction where the amplitude of electromagnetic field attenuates as propagating. In human skin tissue, the total absorption can be decomposed into several different components, including absorption from water, fat, melanin, and blood content, which can be cast by an empirical equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; nu &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Monte Carlo Simulation ===&lt;br /&gt;
Due to the randomness nature of the scattering process and absorption process related to skin tissue, the optimal approach to simulate the skin behavior is to use Monte Carlo simuilation. Monte Carlo algorithm is a computationally algorithm that&lt;br /&gt;
&lt;br /&gt;
=== MCMatlab ===&lt;br /&gt;
&lt;br /&gt;
=== Theoretical Model Extraction ===&lt;br /&gt;
If considering the activities in the epidermis layer, when illuminated by blue light pump beam, absorption will happen in both the tissue and the FAD, which is described by a single quatity, the absorptivity &amp;lt;math&amp;gt; \mu_\alpha &amp;lt;/math&amp;gt;. In addition, FAD fluorescence is excited, and the fluorescence intensity is determined by the amount of blue photon absorbed by the FAD molecules. However, under regular material definition inside the simulation, it is impossible to separate the absorption by FAD from the absorption from the surrounding tissue, such that the actual fluorescence intensity will be inaccurate. &lt;br /&gt;
&lt;br /&gt;
[[File:model.png|400px|thumb|center|The multilayer model for fluorescence Monte Carlo simulation. ]]&lt;br /&gt;
&lt;br /&gt;
Here, the problem is solved by a multilayer model where the FAD molecules are collected into thin slabs distributed inside the medium. In this case, two different materials can be assigned and the absorption of FAD and surrounding tissue can be separated. However, by reshaping the geometry, the material absorpsivity will be correspondingly modified. Below, the equivalent absorptivity is derived to correct for this change. &lt;br /&gt;
&lt;br /&gt;
The total optical absorption can be described as:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \propto \int dV (-J)\cdot E = \int dV (-i\omega\varepsilon_0 \chi |E|^2) = \int dV \omega\varepsilon_0 \chi&#039;&#039; |E|^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;J&amp;lt;/math&amp;gt; is the current density, &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; is the electric field, &amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; is the angular frequency of light, &amp;lt;math&amp;gt; \varepsilon_0&amp;lt;/math&amp;gt;  is the free space electric permittivity, &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  is the material susceptibility, and &amp;lt;math&amp;gt;\chi&#039;&#039;&amp;lt;/math&amp;gt; is the imaginary part of &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  representing the optical absorption of a certain material. Under the representation of Beer-Lambert law, the electric field penetrating in the skin can be described as an exponential decay: &amp;lt;math&amp;gt; E = E_0 \exp(-\mu_\alpha z) &amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; is the material absorpsivity in the unit of [cm]&amp;lt;math&amp;gt;^{-1}&amp;lt;/math&amp;gt;. Substituting the exponentially decaying electric field into the absorption expression and applying our one-dimensional multilayer geometry: &lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \cong A \int dz \exp(-2\mu_\alpha z) = A\frac{1-\exp(-2\mu_\alpha L_z)}{2\mu_\alpha} &amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;L_z&amp;lt;/math&amp;gt; is the total length in z direction. To have the same amount of absorption in the fluorophore when using the multilayer model, we need to equivalently adjust the optical property &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; of the material to balance the effect of shrinking the volume occupied by the fluorophore. Gathering the fluorophore into a thin slab centered at &amp;lt;math&amp;gt;L_z/2&amp;lt;/math&amp;gt;, the absorption here is:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt;  \cong A \int_{L_z/2-\Delta{z}/2}^{L_z/2+\Delta{z}/2} dz \exp(-2\mu_\alpha&#039; z)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; = A\frac{\exp(-\mu_\alpha&#039;L_z)(\exp(\mu_\alpha&#039;\Delta{z})-\exp(-\mu_\alpha&#039;\Delta{z}))}{2\mu_\alpha&#039;}\cong A\exp(-\mu_\alpha&#039;L_z)\Delta{z}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Equaling the absorption and assuming the absorpsivity of FAD is small (&amp;lt;math&amp;gt;\mu_\alpha L_z\ll1&amp;lt;/math&amp;gt;), one can extract an approximate expression for the equivalent absorpsivity:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;    \mu_\alpha&#039; = \frac{1}{L_z}\log(\frac{L_z}{\Delta{z}}). &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using the equivalent absorpsivity correction, the total absorption is the same. In addition, the blue photon absorbed by FAD will result in the fluorescence emission, such that the correct FAD fluorescence activity can be simulated.&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
&lt;br /&gt;
The properties of the dysplastic region directly determines the fluorescence signal. Here, the properties refer to the geometry size, shape, the fluorophore concentration, and the location inside the skin tissue. Below, we will carry out a few computational and numerical experiments to qualitatively describe the dependence between the fluorescence signal strength and these factors. The simulation is conducted based on MCMatlab Fluorescence Monte Carlo simulation package. &lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Width ===&lt;br /&gt;
[[File:results1_updated.png|700px|thumb|center| (a) Schematic of the geometry, which is defined as a one-dimensional variation in FAD concentration with a low concentration at the central part representing the dysplastic region. (b) The actual fluorescence signal measured as a function of x position. The contrast signal is extracted as the ratio between the magnitude of the dip and the maximum signal level. (c) The dependence betweewn the width of the dysplastic region and the fluorescence contrast signal. (d) The measured fluorescence signal for each width value with an increasing width from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
For the first study, the simulated geometry is defined as a one-dimensional concentration variation in &amp;quot;x&amp;quot; as shown in the figure above with a lower FAD concentration at the central region representing the dysplastic region. The width of the dysplastic region is swept and the output fluorescence contrast signal is measured. It is shown that the contrast signal first goes up, then saturates at w~0.35 mm. At small width values, the signals are mixed up from the two edges where the concentration changes sharply, so that one cannot resolve the full contrast signal. When the two edges are separated sufficiently far, the full signal can be resolved, giving a relative fluorescence contrast as 0.3.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Depth ===&lt;br /&gt;
Next, the qualitative relation is studied between the depth of the dysplastic region inside the skin and the fluorescence contrast signal. In this case, the geometry is defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm and the thickness to 0.1 mm. The depth is set as the swept parameter, and it is defined as the distance between the top surface of the epidermis layer and the top surface of the rectangular wire. &lt;br /&gt;
&lt;br /&gt;
[[File:results2_updated.png|450px|thumb|center| (a) Schematic of the geometry, where the FAD concentration inside the rectangular rod is lower, representing the dysplastic region. The depth of the rectangular wire is swept. (b) The dependence betweewn the depth of the dysplastic region and the fluorescence contrast signal. The red dashed line illustrates an exponential fitting of the simulation results. (c) The measured fluorescence signal for each depth value with an increasing depth from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that the fluorescence contrast signal decreases as the depth increases, which agrees with intuition. As for a deeper location inside the skin, it takes farther distance for the fluorescent light to travel out, therefore the distortion introduced by the scattering events as the light propagates through the skin tissue is stronger. In addition, the attenuation from both scattering and absorption is stronger as well, which further reduces the SNR. For depth greater than 0.1 mm, the contrast signal strength is nearly vanishing.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the FAD Concentration Difference ===&lt;br /&gt;
Similarly, the strength of the contrast signal should also be a function of the concentration difference of FAD between the dysplastic and the healthy tissue. The geometry is again defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm, the thickness to 0.1 mm, and the depth is set to 0.04 mm. The volumetric concentration of FAD in the healthy region is fixed to 0.2 while the FAD concentration in the dysplastic region is varied from 0 to 0.2. &lt;br /&gt;
&lt;br /&gt;
[[File:results32_updated.png|700px|thumb|center| (a,c) Schematic of the geometry, (a) has a shallower dysplastic region while it is deeper in (c). The FAD concentration inside the rectangular rod is swept. (b,d) The dependence betweewn the concentration difference and the fluorescence contrast signal. (c) The measured fluorescence signal for each concentration value with a decreasing concentration contrast from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that for 0.04 mm as the depth, the fluorescence contrast signal is linearly proportional to the FAD concentration difference, which again agrees with intuition. The concentration difference determines the distribution in the number of fluorescence emitter, which is equivalent to the source and directly proportional to the fluorescence intensity. When increasing the depth of the rectangular wire to 0.1 mm, again the linear dependence is shown however with an overall lower amplitude, representing the decrease in the number of fluorescence emitter.&lt;br /&gt;
&lt;br /&gt;
== Conclusions ==&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
You can write math equations as follows:&lt;br /&gt;
&amp;lt;math&amp;gt;y = x^2 + 5 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can include images as follows (you will need to upload the image first using the toolbox on the left bar, using the &amp;quot;Upload file&amp;quot; link).&lt;br /&gt;
&lt;br /&gt;
[[File:Snip 20210106183207.png|200px]]&lt;/div&gt;</summary>
		<author><name>Bohan</name></author>
	</entry>
	<entry>
		<id>http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=33753</id>
		<title>Medical imaging: Simulations of reflectance and fluorescence of human tissue</title>
		<link rel="alternate" type="text/html" href="http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=33753"/>
		<updated>2023-12-18T05:55:06Z</updated>

		<summary type="html">&lt;p&gt;Bohan: /* Optical Processes in Skin Tissue */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
&lt;br /&gt;
== Methods ==&lt;br /&gt;
&lt;br /&gt;
=== Optical Processes in Skin Tissue ===&lt;br /&gt;
When shining light into the skin, there are multiple light-matter interaction processes happening simultaneously, including reflection, absorption, scattering, and fluorescence. Reflection refers to the back-scatter of photon at the interface between different materials when the index of refraction changes. Since the main composition of human skin is water, the variation of index of refraction is minor therefore there is negligible amount of reflection inside human skin. Absorption is an intrinsic property of light-matter interaction where the amplitude of electromagnetic field attenuates as propagating. In human skin tissue, the total absorption can be decomposed into several different components, including absorption from water, fat, melanin, and blood content, which can be cast by an empirical equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \mu_\alpha =BS\mu_{\alpha,oxy} +B(1−S)\mu_{\alpha.deoxy} + W\mu_{\alpha,water} + F\mu_{\alpha,fat} +M\mu_{\alpha,melanosome} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Monte Carlo Simulation ===&lt;br /&gt;
Due to the randomness nature of the scattering process and absorption process related to skin tissue, the optimal approach to simulate the skin behavior is to use Monte Carlo simuilation. Monte Carlo algorithm is a computationally algorithm that&lt;br /&gt;
&lt;br /&gt;
=== MCMatlab ===&lt;br /&gt;
&lt;br /&gt;
=== Theoretical Model Extraction ===&lt;br /&gt;
If considering the activities in the epidermis layer, when illuminated by blue light pump beam, absorption will happen in both the tissue and the FAD, which is described by a single quatity, the absorptivity &amp;lt;math&amp;gt; \mu_\alpha &amp;lt;/math&amp;gt;. In addition, FAD fluorescence is excited, and the fluorescence intensity is determined by the amount of blue photon absorbed by the FAD molecules. However, under regular material definition inside the simulation, it is impossible to separate the absorption by FAD from the absorption from the surrounding tissue, such that the actual fluorescence intensity will be inaccurate. &lt;br /&gt;
&lt;br /&gt;
[[File:model.png|400px|thumb|center|The multilayer model for fluorescence Monte Carlo simulation. ]]&lt;br /&gt;
&lt;br /&gt;
Here, the problem is solved by a multilayer model where the FAD molecules are collected into thin slabs distributed inside the medium. In this case, two different materials can be assigned and the absorption of FAD and surrounding tissue can be separated. However, by reshaping the geometry, the material absorpsivity will be correspondingly modified. Below, the equivalent absorptivity is derived to correct for this change. &lt;br /&gt;
&lt;br /&gt;
The total optical absorption can be described as:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \propto \int dV (-J)\cdot E = \int dV (-i\omega\varepsilon_0 \chi |E|^2) = \int dV \omega\varepsilon_0 \chi&#039;&#039; |E|^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;J&amp;lt;/math&amp;gt; is the current density, &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; is the electric field, &amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; is the angular frequency of light, &amp;lt;math&amp;gt; \varepsilon_0&amp;lt;/math&amp;gt;  is the free space electric permittivity, &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  is the material susceptibility, and &amp;lt;math&amp;gt;\chi&#039;&#039;&amp;lt;/math&amp;gt; is the imaginary part of &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  representing the optical absorption of a certain material. Under the representation of Beer-Lambert law, the electric field penetrating in the skin can be described as an exponential decay: &amp;lt;math&amp;gt; E = E_0 \exp(-\mu_\alpha z) &amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; is the material absorpsivity in the unit of [cm]&amp;lt;math&amp;gt;^{-1}&amp;lt;/math&amp;gt;. Substituting the exponentially decaying electric field into the absorption expression and applying our one-dimensional multilayer geometry: &lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \cong A \int dz \exp(-2\mu_\alpha z) = A\frac{1-\exp(-2\mu_\alpha L_z)}{2\mu_\alpha} &amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;L_z&amp;lt;/math&amp;gt; is the total length in z direction. To have the same amount of absorption in the fluorophore when using the multilayer model, we need to equivalently adjust the optical property &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; of the material to balance the effect of shrinking the volume occupied by the fluorophore. Gathering the fluorophore into a thin slab centered at &amp;lt;math&amp;gt;L_z/2&amp;lt;/math&amp;gt;, the absorption here is:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt;  \cong A \int_{L_z/2-\Delta{z}/2}^{L_z/2+\Delta{z}/2} dz \exp(-2\mu_\alpha&#039; z)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; = A\frac{\exp(-\mu_\alpha&#039;L_z)(\exp(\mu_\alpha&#039;\Delta{z})-\exp(-\mu_\alpha&#039;\Delta{z}))}{2\mu_\alpha&#039;}\cong A\exp(-\mu_\alpha&#039;L_z)\Delta{z}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Equaling the absorption and assuming the absorpsivity of FAD is small (&amp;lt;math&amp;gt;\mu_\alpha L_z\ll1&amp;lt;/math&amp;gt;), one can extract an approximate expression for the equivalent absorpsivity:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;    \mu_\alpha&#039; = \frac{1}{L_z}\log(\frac{L_z}{\Delta{z}}). &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using the equivalent absorpsivity correction, the total absorption is the same. In addition, the blue photon absorbed by FAD will result in the fluorescence emission, such that the correct FAD fluorescence activity can be simulated.&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
&lt;br /&gt;
The properties of the dysplastic region directly determines the fluorescence signal. Here, the properties refer to the geometry size, shape, the fluorophore concentration, and the location inside the skin tissue. Below, we will carry out a few computational and numerical experiments to qualitatively describe the dependence between the fluorescence signal strength and these factors. The simulation is conducted based on MCMatlab Fluorescence Monte Carlo simulation package. &lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Width ===&lt;br /&gt;
[[File:results1_updated.png|700px|thumb|center| (a) Schematic of the geometry, which is defined as a one-dimensional variation in FAD concentration with a low concentration at the central part representing the dysplastic region. (b) The actual fluorescence signal measured as a function of x position. The contrast signal is extracted as the ratio between the magnitude of the dip and the maximum signal level. (c) The dependence betweewn the width of the dysplastic region and the fluorescence contrast signal. (d) The measured fluorescence signal for each width value with an increasing width from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
For the first study, the simulated geometry is defined as a one-dimensional concentration variation in &amp;quot;x&amp;quot; as shown in the figure above with a lower FAD concentration at the central region representing the dysplastic region. The width of the dysplastic region is swept and the output fluorescence contrast signal is measured. It is shown that the contrast signal first goes up, then saturates at w~0.35 mm. At small width values, the signals are mixed up from the two edges where the concentration changes sharply, so that one cannot resolve the full contrast signal. When the two edges are separated sufficiently far, the full signal can be resolved, giving a relative fluorescence contrast as 0.3.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Depth ===&lt;br /&gt;
Next, the qualitative relation is studied between the depth of the dysplastic region inside the skin and the fluorescence contrast signal. In this case, the geometry is defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm and the thickness to 0.1 mm. The depth is set as the swept parameter, and it is defined as the distance between the top surface of the epidermis layer and the top surface of the rectangular wire. &lt;br /&gt;
&lt;br /&gt;
[[File:results2_updated.png|450px|thumb|center| (a) Schematic of the geometry, where the FAD concentration inside the rectangular rod is lower, representing the dysplastic region. The depth of the rectangular wire is swept. (b) The dependence betweewn the depth of the dysplastic region and the fluorescence contrast signal. The red dashed line illustrates an exponential fitting of the simulation results. (c) The measured fluorescence signal for each depth value with an increasing depth from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that the fluorescence contrast signal decreases as the depth increases, which agrees with intuition. As for a deeper location inside the skin, it takes farther distance for the fluorescent light to travel out, therefore the distortion introduced by the scattering events as the light propagates through the skin tissue is stronger. In addition, the attenuation from both scattering and absorption is stronger as well, which further reduces the SNR. For depth greater than 0.1 mm, the contrast signal strength is nearly vanishing.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the FAD Concentration Difference ===&lt;br /&gt;
Similarly, the strength of the contrast signal should also be a function of the concentration difference of FAD between the dysplastic and the healthy tissue. The geometry is again defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm, the thickness to 0.1 mm, and the depth is set to 0.04 mm. The volumetric concentration of FAD in the healthy region is fixed to 0.2 while the FAD concentration in the dysplastic region is varied from 0 to 0.2. &lt;br /&gt;
&lt;br /&gt;
[[File:results32_updated.png|700px|thumb|center| (a,c) Schematic of the geometry, (a) has a shallower dysplastic region while it is deeper in (c). The FAD concentration inside the rectangular rod is swept. (b,d) The dependence betweewn the concentration difference and the fluorescence contrast signal. (c) The measured fluorescence signal for each concentration value with a decreasing concentration contrast from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that for 0.04 mm as the depth, the fluorescence contrast signal is linearly proportional to the FAD concentration difference, which again agrees with intuition. The concentration difference determines the distribution in the number of fluorescence emitter, which is equivalent to the source and directly proportional to the fluorescence intensity. When increasing the depth of the rectangular wire to 0.1 mm, again the linear dependence is shown however with an overall lower amplitude, representing the decrease in the number of fluorescence emitter.&lt;br /&gt;
&lt;br /&gt;
== Conclusions ==&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
You can write math equations as follows:&lt;br /&gt;
&amp;lt;math&amp;gt;y = x^2 + 5 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can include images as follows (you will need to upload the image first using the toolbox on the left bar, using the &amp;quot;Upload file&amp;quot; link).&lt;br /&gt;
&lt;br /&gt;
[[File:Snip 20210106183207.png|200px]]&lt;/div&gt;</summary>
		<author><name>Bohan</name></author>
	</entry>
	<entry>
		<id>http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=33752</id>
		<title>Medical imaging: Simulations of reflectance and fluorescence of human tissue</title>
		<link rel="alternate" type="text/html" href="http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=33752"/>
		<updated>2023-12-18T05:54:46Z</updated>

		<summary type="html">&lt;p&gt;Bohan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
&lt;br /&gt;
== Methods ==&lt;br /&gt;
&lt;br /&gt;
=== Optical Processes in Skin Tissue ===&lt;br /&gt;
When shining light into the skin, there are multiple light-matter interaction processes happening simultaneously, including reflection, absorption, scattering, and fluorescence. Reflection refers to the back-scatter of photon at the interface between different materials when the index of refraction changes. Since the main composition of human skin is water, the variation of index of refraction is minor therefore there is negligible amount of reflection inside human skin. Absorption is an intrinsic property of light-matter interaction where the amplitude of electromagnetic field attenuates as propagating. In human skin tissue, the total absorption can be decomposed into several different components, including absorption from water, fat, melanin, and blood content, which can be cast by an empirical equation : &lt;br /&gt;
&amp;lt;math&amp;gt; \mu_\alpha =BS\mu_{\alpha,oxy} +B(1−S)\mu_{\alpha.deoxy} + W\mu_{\alpha,water} + F\mu_{\alpha,fat} +M\mu_{\alpha,melanosome} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Monte Carlo Simulation ===&lt;br /&gt;
Due to the randomness nature of the scattering process and absorption process related to skin tissue, the optimal approach to simulate the skin behavior is to use Monte Carlo simuilation. Monte Carlo algorithm is a computationally algorithm that&lt;br /&gt;
&lt;br /&gt;
=== MCMatlab ===&lt;br /&gt;
&lt;br /&gt;
=== Theoretical Model Extraction ===&lt;br /&gt;
If considering the activities in the epidermis layer, when illuminated by blue light pump beam, absorption will happen in both the tissue and the FAD, which is described by a single quatity, the absorptivity &amp;lt;math&amp;gt; \mu_\alpha &amp;lt;/math&amp;gt;. In addition, FAD fluorescence is excited, and the fluorescence intensity is determined by the amount of blue photon absorbed by the FAD molecules. However, under regular material definition inside the simulation, it is impossible to separate the absorption by FAD from the absorption from the surrounding tissue, such that the actual fluorescence intensity will be inaccurate. &lt;br /&gt;
&lt;br /&gt;
[[File:model.png|400px|thumb|center|The multilayer model for fluorescence Monte Carlo simulation. ]]&lt;br /&gt;
&lt;br /&gt;
Here, the problem is solved by a multilayer model where the FAD molecules are collected into thin slabs distributed inside the medium. In this case, two different materials can be assigned and the absorption of FAD and surrounding tissue can be separated. However, by reshaping the geometry, the material absorpsivity will be correspondingly modified. Below, the equivalent absorptivity is derived to correct for this change. &lt;br /&gt;
&lt;br /&gt;
The total optical absorption can be described as:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \propto \int dV (-J)\cdot E = \int dV (-i\omega\varepsilon_0 \chi |E|^2) = \int dV \omega\varepsilon_0 \chi&#039;&#039; |E|^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;J&amp;lt;/math&amp;gt; is the current density, &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; is the electric field, &amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; is the angular frequency of light, &amp;lt;math&amp;gt; \varepsilon_0&amp;lt;/math&amp;gt;  is the free space electric permittivity, &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  is the material susceptibility, and &amp;lt;math&amp;gt;\chi&#039;&#039;&amp;lt;/math&amp;gt; is the imaginary part of &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  representing the optical absorption of a certain material. Under the representation of Beer-Lambert law, the electric field penetrating in the skin can be described as an exponential decay: &amp;lt;math&amp;gt; E = E_0 \exp(-\mu_\alpha z) &amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; is the material absorpsivity in the unit of [cm]&amp;lt;math&amp;gt;^{-1}&amp;lt;/math&amp;gt;. Substituting the exponentially decaying electric field into the absorption expression and applying our one-dimensional multilayer geometry: &lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \cong A \int dz \exp(-2\mu_\alpha z) = A\frac{1-\exp(-2\mu_\alpha L_z)}{2\mu_\alpha} &amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;L_z&amp;lt;/math&amp;gt; is the total length in z direction. To have the same amount of absorption in the fluorophore when using the multilayer model, we need to equivalently adjust the optical property &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; of the material to balance the effect of shrinking the volume occupied by the fluorophore. Gathering the fluorophore into a thin slab centered at &amp;lt;math&amp;gt;L_z/2&amp;lt;/math&amp;gt;, the absorption here is:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt;  \cong A \int_{L_z/2-\Delta{z}/2}^{L_z/2+\Delta{z}/2} dz \exp(-2\mu_\alpha&#039; z)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; = A\frac{\exp(-\mu_\alpha&#039;L_z)(\exp(\mu_\alpha&#039;\Delta{z})-\exp(-\mu_\alpha&#039;\Delta{z}))}{2\mu_\alpha&#039;}\cong A\exp(-\mu_\alpha&#039;L_z)\Delta{z}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Equaling the absorption and assuming the absorpsivity of FAD is small (&amp;lt;math&amp;gt;\mu_\alpha L_z\ll1&amp;lt;/math&amp;gt;), one can extract an approximate expression for the equivalent absorpsivity:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;    \mu_\alpha&#039; = \frac{1}{L_z}\log(\frac{L_z}{\Delta{z}}). &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using the equivalent absorpsivity correction, the total absorption is the same. In addition, the blue photon absorbed by FAD will result in the fluorescence emission, such that the correct FAD fluorescence activity can be simulated.&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
&lt;br /&gt;
The properties of the dysplastic region directly determines the fluorescence signal. Here, the properties refer to the geometry size, shape, the fluorophore concentration, and the location inside the skin tissue. Below, we will carry out a few computational and numerical experiments to qualitatively describe the dependence between the fluorescence signal strength and these factors. The simulation is conducted based on MCMatlab Fluorescence Monte Carlo simulation package. &lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Width ===&lt;br /&gt;
[[File:results1_updated.png|700px|thumb|center| (a) Schematic of the geometry, which is defined as a one-dimensional variation in FAD concentration with a low concentration at the central part representing the dysplastic region. (b) The actual fluorescence signal measured as a function of x position. The contrast signal is extracted as the ratio between the magnitude of the dip and the maximum signal level. (c) The dependence betweewn the width of the dysplastic region and the fluorescence contrast signal. (d) The measured fluorescence signal for each width value with an increasing width from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
For the first study, the simulated geometry is defined as a one-dimensional concentration variation in &amp;quot;x&amp;quot; as shown in the figure above with a lower FAD concentration at the central region representing the dysplastic region. The width of the dysplastic region is swept and the output fluorescence contrast signal is measured. It is shown that the contrast signal first goes up, then saturates at w~0.35 mm. At small width values, the signals are mixed up from the two edges where the concentration changes sharply, so that one cannot resolve the full contrast signal. When the two edges are separated sufficiently far, the full signal can be resolved, giving a relative fluorescence contrast as 0.3.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Depth ===&lt;br /&gt;
Next, the qualitative relation is studied between the depth of the dysplastic region inside the skin and the fluorescence contrast signal. In this case, the geometry is defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm and the thickness to 0.1 mm. The depth is set as the swept parameter, and it is defined as the distance between the top surface of the epidermis layer and the top surface of the rectangular wire. &lt;br /&gt;
&lt;br /&gt;
[[File:results2_updated.png|450px|thumb|center| (a) Schematic of the geometry, where the FAD concentration inside the rectangular rod is lower, representing the dysplastic region. The depth of the rectangular wire is swept. (b) The dependence betweewn the depth of the dysplastic region and the fluorescence contrast signal. The red dashed line illustrates an exponential fitting of the simulation results. (c) The measured fluorescence signal for each depth value with an increasing depth from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that the fluorescence contrast signal decreases as the depth increases, which agrees with intuition. As for a deeper location inside the skin, it takes farther distance for the fluorescent light to travel out, therefore the distortion introduced by the scattering events as the light propagates through the skin tissue is stronger. In addition, the attenuation from both scattering and absorption is stronger as well, which further reduces the SNR. For depth greater than 0.1 mm, the contrast signal strength is nearly vanishing.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the FAD Concentration Difference ===&lt;br /&gt;
Similarly, the strength of the contrast signal should also be a function of the concentration difference of FAD between the dysplastic and the healthy tissue. The geometry is again defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm, the thickness to 0.1 mm, and the depth is set to 0.04 mm. The volumetric concentration of FAD in the healthy region is fixed to 0.2 while the FAD concentration in the dysplastic region is varied from 0 to 0.2. &lt;br /&gt;
&lt;br /&gt;
[[File:results32_updated.png|700px|thumb|center| (a,c) Schematic of the geometry, (a) has a shallower dysplastic region while it is deeper in (c). The FAD concentration inside the rectangular rod is swept. (b,d) The dependence betweewn the concentration difference and the fluorescence contrast signal. (c) The measured fluorescence signal for each concentration value with a decreasing concentration contrast from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that for 0.04 mm as the depth, the fluorescence contrast signal is linearly proportional to the FAD concentration difference, which again agrees with intuition. The concentration difference determines the distribution in the number of fluorescence emitter, which is equivalent to the source and directly proportional to the fluorescence intensity. When increasing the depth of the rectangular wire to 0.1 mm, again the linear dependence is shown however with an overall lower amplitude, representing the decrease in the number of fluorescence emitter.&lt;br /&gt;
&lt;br /&gt;
== Conclusions ==&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
You can write math equations as follows:&lt;br /&gt;
&amp;lt;math&amp;gt;y = x^2 + 5 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can include images as follows (you will need to upload the image first using the toolbox on the left bar, using the &amp;quot;Upload file&amp;quot; link).&lt;br /&gt;
&lt;br /&gt;
[[File:Snip 20210106183207.png|200px]]&lt;/div&gt;</summary>
		<author><name>Bohan</name></author>
	</entry>
	<entry>
		<id>http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=33751</id>
		<title>Medical imaging: Simulations of reflectance and fluorescence of human tissue</title>
		<link rel="alternate" type="text/html" href="http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=33751"/>
		<updated>2023-12-18T05:54:28Z</updated>

		<summary type="html">&lt;p&gt;Bohan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
&lt;br /&gt;
== Methods ==&lt;br /&gt;
&lt;br /&gt;
=== Optical Processes in Skin Tissue ===&lt;br /&gt;
When shining light into the skin, there are multiple light-matter interaction processes happening simultaneously, including reflection, absorption, scattering, and fluorescence. Reflection refers to the back-scatter of photon at the interface between different materials when the index of refraction changes. Since the main composition of human skin is water, the variation of index of refraction is minor therefore there is negligible amount of reflection inside human skin. Absorption is an intrinsic property of light-matter interaction where the amplitude of electromagnetic field attenuates as propagating. In human skin tissue, the total absorption can be decomposed into several different components, including absorption from water, fat, melanin, and blood content, which can be cast by an empirical equation : &lt;br /&gt;
&amp;lt;math&amp;gt; \mu_\alpha =BS\mu_{\alpha,oxy} +B(1−S)\mu_{\alpha.deoxy} + &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Monte Carlo Simulation ===&lt;br /&gt;
Due to the randomness nature of the scattering process and absorption process related to skin tissue, the optimal approach to simulate the skin behavior is to use Monte Carlo simuilation. Monte Carlo algorithm is a computationally algorithm that&lt;br /&gt;
&lt;br /&gt;
=== MCMatlab ===&lt;br /&gt;
&lt;br /&gt;
=== Theoretical Model Extraction ===&lt;br /&gt;
If considering the activities in the epidermis layer, when illuminated by blue light pump beam, absorption will happen in both the tissue and the FAD, which is described by a single quatity, the absorptivity &amp;lt;math&amp;gt; \mu_\alpha &amp;lt;/math&amp;gt;. In addition, FAD fluorescence is excited, and the fluorescence intensity is determined by the amount of blue photon absorbed by the FAD molecules. However, under regular material definition inside the simulation, it is impossible to separate the absorption by FAD from the absorption from the surrounding tissue, such that the actual fluorescence intensity will be inaccurate. &lt;br /&gt;
&lt;br /&gt;
[[File:model.png|400px|thumb|center|The multilayer model for fluorescence Monte Carlo simulation. ]]&lt;br /&gt;
&lt;br /&gt;
Here, the problem is solved by a multilayer model where the FAD molecules are collected into thin slabs distributed inside the medium. In this case, two different materials can be assigned and the absorption of FAD and surrounding tissue can be separated. However, by reshaping the geometry, the material absorpsivity will be correspondingly modified. Below, the equivalent absorptivity is derived to correct for this change. &lt;br /&gt;
&lt;br /&gt;
The total optical absorption can be described as:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \propto \int dV (-J)\cdot E = \int dV (-i\omega\varepsilon_0 \chi |E|^2) = \int dV \omega\varepsilon_0 \chi&#039;&#039; |E|^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;J&amp;lt;/math&amp;gt; is the current density, &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; is the electric field, &amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; is the angular frequency of light, &amp;lt;math&amp;gt; \varepsilon_0&amp;lt;/math&amp;gt;  is the free space electric permittivity, &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  is the material susceptibility, and &amp;lt;math&amp;gt;\chi&#039;&#039;&amp;lt;/math&amp;gt; is the imaginary part of &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  representing the optical absorption of a certain material. Under the representation of Beer-Lambert law, the electric field penetrating in the skin can be described as an exponential decay: &amp;lt;math&amp;gt; E = E_0 \exp(-\mu_\alpha z) &amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; is the material absorpsivity in the unit of [cm]&amp;lt;math&amp;gt;^{-1}&amp;lt;/math&amp;gt;. Substituting the exponentially decaying electric field into the absorption expression and applying our one-dimensional multilayer geometry: &lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \cong A \int dz \exp(-2\mu_\alpha z) = A\frac{1-\exp(-2\mu_\alpha L_z)}{2\mu_\alpha} &amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;L_z&amp;lt;/math&amp;gt; is the total length in z direction. To have the same amount of absorption in the fluorophore when using the multilayer model, we need to equivalently adjust the optical property &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; of the material to balance the effect of shrinking the volume occupied by the fluorophore. Gathering the fluorophore into a thin slab centered at &amp;lt;math&amp;gt;L_z/2&amp;lt;/math&amp;gt;, the absorption here is:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt;  \cong A \int_{L_z/2-\Delta{z}/2}^{L_z/2+\Delta{z}/2} dz \exp(-2\mu_\alpha&#039; z)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; = A\frac{\exp(-\mu_\alpha&#039;L_z)(\exp(\mu_\alpha&#039;\Delta{z})-\exp(-\mu_\alpha&#039;\Delta{z}))}{2\mu_\alpha&#039;}\cong A\exp(-\mu_\alpha&#039;L_z)\Delta{z}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Equaling the absorption and assuming the absorpsivity of FAD is small (&amp;lt;math&amp;gt;\mu_\alpha L_z\ll1&amp;lt;/math&amp;gt;), one can extract an approximate expression for the equivalent absorpsivity:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;    \mu_\alpha&#039; = \frac{1}{L_z}\log(\frac{L_z}{\Delta{z}}). &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using the equivalent absorpsivity correction, the total absorption is the same. In addition, the blue photon absorbed by FAD will result in the fluorescence emission, such that the correct FAD fluorescence activity can be simulated.&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
&lt;br /&gt;
The properties of the dysplastic region directly determines the fluorescence signal. Here, the properties refer to the geometry size, shape, the fluorophore concentration, and the location inside the skin tissue. Below, we will carry out a few computational and numerical experiments to qualitatively describe the dependence between the fluorescence signal strength and these factors. The simulation is conducted based on MCMatlab Fluorescence Monte Carlo simulation package. &lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Width ===&lt;br /&gt;
[[File:results1_updated.png|700px|thumb|center| (a) Schematic of the geometry, which is defined as a one-dimensional variation in FAD concentration with a low concentration at the central part representing the dysplastic region. (b) The actual fluorescence signal measured as a function of x position. The contrast signal is extracted as the ratio between the magnitude of the dip and the maximum signal level. (c) The dependence betweewn the width of the dysplastic region and the fluorescence contrast signal. (d) The measured fluorescence signal for each width value with an increasing width from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
For the first study, the simulated geometry is defined as a one-dimensional concentration variation in &amp;quot;x&amp;quot; as shown in the figure above with a lower FAD concentration at the central region representing the dysplastic region. The width of the dysplastic region is swept and the output fluorescence contrast signal is measured. It is shown that the contrast signal first goes up, then saturates at w~0.35 mm. At small width values, the signals are mixed up from the two edges where the concentration changes sharply, so that one cannot resolve the full contrast signal. When the two edges are separated sufficiently far, the full signal can be resolved, giving a relative fluorescence contrast as 0.3.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Depth ===&lt;br /&gt;
Next, the qualitative relation is studied between the depth of the dysplastic region inside the skin and the fluorescence contrast signal. In this case, the geometry is defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm and the thickness to 0.1 mm. The depth is set as the swept parameter, and it is defined as the distance between the top surface of the epidermis layer and the top surface of the rectangular wire. &lt;br /&gt;
&lt;br /&gt;
[[File:results2_updated.png|450px|thumb|center| (a) Schematic of the geometry, where the FAD concentration inside the rectangular rod is lower, representing the dysplastic region. The depth of the rectangular wire is swept. (b) The dependence betweewn the depth of the dysplastic region and the fluorescence contrast signal. The red dashed line illustrates an exponential fitting of the simulation results. (c) The measured fluorescence signal for each depth value with an increasing depth from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that the fluorescence contrast signal decreases as the depth increases, which agrees with intuition. As for a deeper location inside the skin, it takes farther distance for the fluorescent light to travel out, therefore the distortion introduced by the scattering events as the light propagates through the skin tissue is stronger. In addition, the attenuation from both scattering and absorption is stronger as well, which further reduces the SNR. For depth greater than 0.1 mm, the contrast signal strength is nearly vanishing.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the FAD Concentration Difference ===&lt;br /&gt;
Similarly, the strength of the contrast signal should also be a function of the concentration difference of FAD between the dysplastic and the healthy tissue. The geometry is again defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm, the thickness to 0.1 mm, and the depth is set to 0.04 mm. The volumetric concentration of FAD in the healthy region is fixed to 0.2 while the FAD concentration in the dysplastic region is varied from 0 to 0.2. &lt;br /&gt;
&lt;br /&gt;
[[File:results32_updated.png|700px|thumb|center| (a,c) Schematic of the geometry, (a) has a shallower dysplastic region while it is deeper in (c). The FAD concentration inside the rectangular rod is swept. (b,d) The dependence betweewn the concentration difference and the fluorescence contrast signal. (c) The measured fluorescence signal for each concentration value with a decreasing concentration contrast from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that for 0.04 mm as the depth, the fluorescence contrast signal is linearly proportional to the FAD concentration difference, which again agrees with intuition. The concentration difference determines the distribution in the number of fluorescence emitter, which is equivalent to the source and directly proportional to the fluorescence intensity. When increasing the depth of the rectangular wire to 0.1 mm, again the linear dependence is shown however with an overall lower amplitude, representing the decrease in the number of fluorescence emitter.&lt;br /&gt;
&lt;br /&gt;
== Conclusions ==&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
You can write math equations as follows:&lt;br /&gt;
&amp;lt;math&amp;gt;y = x^2 + 5 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can include images as follows (you will need to upload the image first using the toolbox on the left bar, using the &amp;quot;Upload file&amp;quot; link).&lt;br /&gt;
&lt;br /&gt;
[[File:Snip 20210106183207.png|200px]]&lt;/div&gt;</summary>
		<author><name>Bohan</name></author>
	</entry>
	<entry>
		<id>http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=33749</id>
		<title>Medical imaging: Simulations of reflectance and fluorescence of human tissue</title>
		<link rel="alternate" type="text/html" href="http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=33749"/>
		<updated>2023-12-18T05:52:48Z</updated>

		<summary type="html">&lt;p&gt;Bohan: /* Optical Processes in Skin Tissue */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
&lt;br /&gt;
== Methods ==&lt;br /&gt;
&lt;br /&gt;
=== Optical Processes in Skin Tissue ===&lt;br /&gt;
When shining light into the skin, there are multiple light-matter interaction processes happening simultaneously, including reflection, absorption, scattering, and fluorescence. Reflection refers to the back-scatter of photon at the interface between different materials when the index of refraction changes. Since the main composition of human skin is water, the variation of index of refraction is minor therefore there is negligible amount of reflection inside human skin. Absorption is an intrinsic property of light-matter interaction where the amplitude of electromagnetic field attenuates as propagating. In human skin tissue, the total absorption can be decomposed into several different components, including absorption from water, fat, melanin, and blood content, which can be cast by an empirical equation : &lt;br /&gt;
&amp;lt;math&amp;gt; \mu_\alpha =BS\mu_{\alpha,oxy} +B(1−S)\mu_{\alpha.deoxy} +W\mu_{\alpha,water} + F\mu_{\alpha,fat} +M\mu_{\alpha,melanosome} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Monte Carlo Simulation ===&lt;br /&gt;
Due to the randomness nature of the scattering process and absorption process related to skin tissue, the optimal approach to simulate the skin behavior is to use Monte Carlo simuilation. Monte Carlo algorithm is a computationally algorithm that&lt;br /&gt;
&lt;br /&gt;
=== MCMatlab ===&lt;br /&gt;
&lt;br /&gt;
=== Theoretical Model Extraction ===&lt;br /&gt;
If considering the activities in the epidermis layer, when illuminated by blue light pump beam, absorption will happen in both the tissue and the FAD, which is described by a single quatity, the absorptivity &amp;lt;math&amp;gt; \mu_\alpha &amp;lt;/math&amp;gt;. In addition, FAD fluorescence is excited, and the fluorescence intensity is determined by the amount of blue photon absorbed by the FAD molecules. However, under regular material definition inside the simulation, it is impossible to separate the absorption by FAD from the absorption from the surrounding tissue, such that the actual fluorescence intensity will be inaccurate. &lt;br /&gt;
&lt;br /&gt;
[[File:model.png|400px|thumb|center|The multilayer model for fluorescence Monte Carlo simulation. ]]&lt;br /&gt;
&lt;br /&gt;
Here, the problem is solved by a multilayer model where the FAD molecules are collected into thin slabs distributed inside the medium. In this case, two different materials can be assigned and the absorption of FAD and surrounding tissue can be separated. However, by reshaping the geometry, the material absorpsivity will be correspondingly modified. Below, the equivalent absorptivity is derived to correct for this change. &lt;br /&gt;
&lt;br /&gt;
The total optical absorption can be described as:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \propto \int dV (-J)\cdot E = \int dV (-i\omega\varepsilon_0 \chi |E|^2) = \int dV \omega\varepsilon_0 \chi&#039;&#039; |E|^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;J&amp;lt;/math&amp;gt; is the current density, &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; is the electric field, &amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; is the angular frequency of light, &amp;lt;math&amp;gt; \varepsilon_0&amp;lt;/math&amp;gt;  is the free space electric permittivity, &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  is the material susceptibility, and &amp;lt;math&amp;gt;\chi&#039;&#039;&amp;lt;/math&amp;gt; is the imaginary part of &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  representing the optical absorption of a certain material. Under the representation of Beer-Lambert law, the electric field penetrating in the skin can be described as an exponential decay: &amp;lt;math&amp;gt; E = E_0 \exp(-\mu_\alpha z) &amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; is the material absorpsivity in the unit of [cm]&amp;lt;math&amp;gt;^{-1}&amp;lt;/math&amp;gt;. Substituting the exponentially decaying electric field into the absorption expression and applying our one-dimensional multilayer geometry: &lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \cong A \int dz \exp(-2\mu_\alpha z) = A\frac{1-\exp(-2\mu_\alpha L_z)}{2\mu_\alpha} &amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;L_z&amp;lt;/math&amp;gt; is the total length in z direction. To have the same amount of absorption in the fluorophore when using the multilayer model, we need to equivalently adjust the optical property &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; of the material to balance the effect of shrinking the volume occupied by the fluorophore. Gathering the fluorophore into a thin slab centered at &amp;lt;math&amp;gt;L_z/2&amp;lt;/math&amp;gt;, the absorption here is:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt;  \cong A \int_{L_z/2-\Delta{z}/2}^{L_z/2+\Delta{z}/2} dz \exp(-2\mu_\alpha&#039; z)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; = A\frac{\exp(-\mu_\alpha&#039;L_z)(\exp(\mu_\alpha&#039;\Delta{z})-\exp(-\mu_\alpha&#039;\Delta{z}))}{2\mu_\alpha&#039;}\cong A\exp(-\mu_\alpha&#039;L_z)\Delta{z}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Equaling the absorption and assuming the absorpsivity of FAD is small (&amp;lt;math&amp;gt;\mu_\alpha L_z\ll1&amp;lt;/math&amp;gt;), one can extract an approximate expression for the equivalent absorpsivity:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;    \mu_\alpha&#039; = \frac{1}{L_z}\log(\frac{L_z}{\Delta{z}}). &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using the equivalent absorpsivity correction, the total absorption is the same. In addition, the blue photon absorbed by FAD will result in the fluorescence emission, such that the correct FAD fluorescence activity can be simulated.&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
&lt;br /&gt;
The properties of the dysplastic region directly determines the fluorescence signal. Here, the properties refer to the geometry size, shape, the fluorophore concentration, and the location inside the skin tissue. Below, we will carry out a few computational and numerical experiments to qualitatively describe the dependence between the fluorescence signal strength and these factors. The simulation is conducted based on MCMatlab Fluorescence Monte Carlo simulation package. &lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Width ===&lt;br /&gt;
[[File:results1_updated.png|700px|thumb|center| (a) Schematic of the geometry, which is defined as a one-dimensional variation in FAD concentration with a low concentration at the central part representing the dysplastic region. (b) The actual fluorescence signal measured as a function of x position. The contrast signal is extracted as the ratio between the magnitude of the dip and the maximum signal level. (c) The dependence betweewn the width of the dysplastic region and the fluorescence contrast signal. (d) The measured fluorescence signal for each width value with an increasing width from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
For the first study, the simulated geometry is defined as a one-dimensional concentration variation in &amp;quot;x&amp;quot; as shown in the figure above with a lower FAD concentration at the central region representing the dysplastic region. The width of the dysplastic region is swept and the output fluorescence contrast signal is measured. It is shown that the contrast signal first goes up, then saturates at w~0.35 mm. At small width values, the signals are mixed up from the two edges where the concentration changes sharply, so that one cannot resolve the full contrast signal. When the two edges are separated sufficiently far, the full signal can be resolved, giving a relative fluorescence contrast as 0.3.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Depth ===&lt;br /&gt;
Next, the qualitative relation is studied between the depth of the dysplastic region inside the skin and the fluorescence contrast signal. In this case, the geometry is defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm and the thickness to 0.1 mm. The depth is set as the swept parameter, and it is defined as the distance between the top surface of the epidermis layer and the top surface of the rectangular wire. &lt;br /&gt;
&lt;br /&gt;
[[File:results2_updated.png|450px|thumb|center| (a) Schematic of the geometry, where the FAD concentration inside the rectangular rod is lower, representing the dysplastic region. The depth of the rectangular wire is swept. (b) The dependence betweewn the depth of the dysplastic region and the fluorescence contrast signal. The red dashed line illustrates an exponential fitting of the simulation results. (c) The measured fluorescence signal for each depth value with an increasing depth from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that the fluorescence contrast signal decreases as the depth increases, which agrees with intuition. As for a deeper location inside the skin, it takes farther distance for the fluorescent light to travel out, therefore the distortion introduced by the scattering events as the light propagates through the skin tissue is stronger. In addition, the attenuation from both scattering and absorption is stronger as well, which further reduces the SNR. For depth greater than 0.1 mm, the contrast signal strength is nearly vanishing.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the FAD Concentration Difference ===&lt;br /&gt;
Similarly, the strength of the contrast signal should also be a function of the concentration difference of FAD between the dysplastic and the healthy tissue. The geometry is again defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm, the thickness to 0.1 mm, and the depth is set to 0.04 mm. The volumetric concentration of FAD in the healthy region is fixed to 0.2 while the FAD concentration in the dysplastic region is varied from 0 to 0.2. &lt;br /&gt;
&lt;br /&gt;
[[File:results32_updated.png|700px|thumb|center| (a,c) Schematic of the geometry, (a) has a shallower dysplastic region while it is deeper in (c). The FAD concentration inside the rectangular rod is swept. (b,d) The dependence betweewn the concentration difference and the fluorescence contrast signal. (c) The measured fluorescence signal for each concentration value with a decreasing concentration contrast from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that for 0.04 mm as the depth, the fluorescence contrast signal is linearly proportional to the FAD concentration difference, which again agrees with intuition. The concentration difference determines the distribution in the number of fluorescence emitter, which is equivalent to the source and directly proportional to the fluorescence intensity. When increasing the depth of the rectangular wire to 0.1 mm, again the linear dependence is shown however with an overall lower amplitude, representing the decrease in the number of fluorescence emitter.&lt;br /&gt;
&lt;br /&gt;
== Conclusions ==&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
You can write math equations as follows:&lt;br /&gt;
&amp;lt;math&amp;gt;y = x^2 + 5 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can include images as follows (you will need to upload the image first using the toolbox on the left bar, using the &amp;quot;Upload file&amp;quot; link).&lt;br /&gt;
&lt;br /&gt;
[[File:Snip 20210106183207.png|200px]]&lt;/div&gt;</summary>
		<author><name>Bohan</name></author>
	</entry>
	<entry>
		<id>http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=33617</id>
		<title>Medical imaging: Simulations of reflectance and fluorescence of human tissue</title>
		<link rel="alternate" type="text/html" href="http://vista.su.domains/psych221wiki/index.php?title=Medical_imaging:_Simulations_of_reflectance_and_fluorescence_of_human_tissue&amp;diff=33617"/>
		<updated>2023-12-18T01:20:45Z</updated>

		<summary type="html">&lt;p&gt;Bohan: /* Methods */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
&lt;br /&gt;
== Methods ==&lt;br /&gt;
&lt;br /&gt;
=== Optical Processes in Skin Tissue ===&lt;br /&gt;
When shining light into the skin, there are &lt;br /&gt;
&lt;br /&gt;
=== Monte Carlo Simulation ===&lt;br /&gt;
Due to the randomness nature of the scattering process and absorption process related to skin tissue, the optimal approach to simulate the skin behavior is to use Monte Carlo simuilation. Monte Carlo algorithm is a computationally algorithm that&lt;br /&gt;
&lt;br /&gt;
=== MCMatlab ===&lt;br /&gt;
&lt;br /&gt;
=== Theoretical Model Extraction ===&lt;br /&gt;
If considering the activities in the epidermis layer, when illuminated by blue light pump beam, absorption will happen in both the tissue and the FAD, which is described by a single quatity, the absorptivity &amp;lt;math&amp;gt; \mu_\alpha &amp;lt;/math&amp;gt;. In addition, FAD fluorescence is excited, and the fluorescence intensity is determined by the amount of blue photon absorbed by the FAD molecules. However, under regular material definition inside the simulation, it is impossible to separate the absorption by FAD from the absorption from the surrounding tissue, such that the actual fluorescence intensity will be inaccurate. &lt;br /&gt;
&lt;br /&gt;
[[File:model.png|400px|thumb|center|The multilayer model for fluorescence Monte Carlo simulation. ]]&lt;br /&gt;
&lt;br /&gt;
Here, the problem is solved by a multilayer model where the FAD molecules are collected into thin slabs distributed inside the medium. In this case, two different materials can be assigned and the absorption of FAD and surrounding tissue can be separated. However, by reshaping the geometry, the material absorpsivity will be correspondingly modified. Below, the equivalent absorptivity is derived to correct for this change. &lt;br /&gt;
&lt;br /&gt;
The total optical absorption can be described as:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \propto \int dV (-J)\cdot E = \int dV (-i\omega\varepsilon_0 \chi |E|^2) = \int dV \omega\varepsilon_0 \chi&#039;&#039; |E|^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;J&amp;lt;/math&amp;gt; is the current density, &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; is the electric field, &amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; is the angular frequency of light, &amp;lt;math&amp;gt; \varepsilon_0&amp;lt;/math&amp;gt;  is the free space electric permittivity, &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  is the material susceptibility, and &amp;lt;math&amp;gt;\chi&#039;&#039;&amp;lt;/math&amp;gt; is the imaginary part of &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;  representing the optical absorption of a certain material. Under the representation of Beer-Lambert law, the electric field penetrating in the skin can be described as an exponential decay: &amp;lt;math&amp;gt; E = E_0 \exp(-\mu_\alpha z) &amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; is the material absorpsivity in the unit of [cm]&amp;lt;math&amp;gt;^{-1}&amp;lt;/math&amp;gt;. Substituting the exponentially decaying electric field into the absorption expression and applying our one-dimensional multilayer geometry: &lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt; \cong A \int dz \exp(-2\mu_\alpha z) = A\frac{1-\exp(-2\mu_\alpha L_z)}{2\mu_\alpha} &amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;L_z&amp;lt;/math&amp;gt; is the total length in z direction. To have the same amount of absorption in the fluorophore when using the multilayer model, we need to equivalently adjust the optical property &amp;lt;math&amp;gt;\mu_\alpha&amp;lt;/math&amp;gt; of the material to balance the effect of shrinking the volume occupied by the fluorophore. Gathering the fluorophore into a thin slab centered at &amp;lt;math&amp;gt;L_z/2&amp;lt;/math&amp;gt;, the absorption here is:&lt;br /&gt;
&lt;br /&gt;
Absorption &amp;lt;math&amp;gt;  \cong A \int_{L_z/2-\Delta{z}/2}^{L_z/2+\Delta{z}/2} dz \exp(-2\mu_\alpha&#039; z)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; = A\frac{\exp(-\mu_\alpha&#039;L_z)(\exp(\mu_\alpha&#039;\Delta{z})-\exp(-\mu_\alpha&#039;\Delta{z}))}{2\mu_\alpha&#039;}\cong A\exp(-\mu_\alpha&#039;L_z)\Delta{z}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Equaling the absorption and assuming the absorpsivity of FAD is small (&amp;lt;math&amp;gt;\mu_\alpha L_z\ll1&amp;lt;/math&amp;gt;), one can extract an approximate expression for the equivalent absorpsivity:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;    \mu_\alpha&#039; = \frac{1}{L_z}\log(\frac{L_z}{\Delta{z}}). &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using the equivalent absorpsivity correction, the total absorption is the same. In addition, the blue photon absorbed by FAD will result in the fluorescence emission, such that the correct FAD fluorescence activity can be simulated.&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
&lt;br /&gt;
The properties of the dysplastic region directly determines the fluorescence signal. Here, the properties refer to the geometry size, shape, the fluorophore concentration, and the location inside the skin tissue. Below, we will carry out a few computational and numerical experiments to qualitatively describe the dependence between the fluorescence signal strength and these factors. The simulation is conducted based on MCMatlab Fluorescence Monte Carlo simulation package. &lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Width ===&lt;br /&gt;
[[File:results1_updated.png|700px|thumb|center| (a) Schematic of the geometry, which is defined as a one-dimensional variation in FAD concentration with a low concentration at the central part representing the dysplastic region. (b) The actual fluorescence signal measured as a function of x position. The contrast signal is extracted as the ratio between the magnitude of the dip and the maximum signal level. (c) The dependence betweewn the width of the dysplastic region and the fluorescence contrast signal. (d) The measured fluorescence signal for each width value with an increasing width from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
For the first study, the simulated geometry is defined as a one-dimensional concentration variation in &amp;quot;x&amp;quot; as shown in the figure above with a lower FAD concentration at the central region representing the dysplastic region. The width of the dysplastic region is swept and the output fluorescence contrast signal is measured. It is shown that the contrast signal first goes up, then saturates at w~0.35 mm. At small width values, the signals are mixed up from the two edges where the concentration changes sharply, so that one cannot resolve the full contrast signal. When the two edges are separated sufficiently far, the full signal can be resolved, giving a relative fluorescence contrast as 0.3.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the Dysplastic Depth ===&lt;br /&gt;
Next, the qualitative relation is studied between the depth of the dysplastic region inside the skin and the fluorescence contrast signal. In this case, the geometry is defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm and the thickness to 0.1 mm. The depth is set as the swept parameter, and it is defined as the distance between the top surface of the epidermis layer and the top surface of the rectangular wire. &lt;br /&gt;
&lt;br /&gt;
[[File:results2_updated.png|450px|thumb|center| (a) Schematic of the geometry, where the FAD concentration inside the rectangular rod is lower, representing the dysplastic region. The depth of the rectangular wire is swept. (b) The dependence betweewn the depth of the dysplastic region and the fluorescence contrast signal. The red dashed line illustrates an exponential fitting of the simulation results. (c) The measured fluorescence signal for each depth value with an increasing depth from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that the fluorescence contrast signal decreases as the depth increases, which agrees with intuition. As for a deeper location inside the skin, it takes farther distance for the fluorescent light to travel out, therefore the distortion introduced by the scattering events as the light propagates through the skin tissue is stronger. In addition, the attenuation from both scattering and absorption is stronger as well, which further reduces the SNR. For depth greater than 0.1 mm, the contrast signal strength is nearly vanishing.&lt;br /&gt;
&lt;br /&gt;
=== Qualitative Dependence on the FAD Concentration Difference ===&lt;br /&gt;
Similarly, the strength of the contrast signal should also be a function of the concentration difference of FAD between the dysplastic and the healthy tissue. The geometry is again defined as a rectangular wire structure as depicted in the figure below. In the simulation, the width of the rectangular wire is fixed to 0.4 mm, the thickness to 0.1 mm, and the depth is set to 0.04 mm. The volumetric concentration of FAD in the healthy region is fixed to 0.2 while the FAD concentration in the dysplastic region is varied from 0 to 0.2. &lt;br /&gt;
&lt;br /&gt;
[[File:results32_updated.png|700px|thumb|center| (a,c) Schematic of the geometry, (a) has a shallower dysplastic region while it is deeper in (c). The FAD concentration inside the rectangular rod is swept. (b,d) The dependence betweewn the concentration difference and the fluorescence contrast signal. (c) The measured fluorescence signal for each concentration value with a decreasing concentration contrast from bottom to the top row. ]]&lt;br /&gt;
&lt;br /&gt;
From the simulation, it can be observed that for 0.04 mm as the depth, the fluorescence contrast signal is linearly proportional to the FAD concentration difference, which again agrees with intuition. The concentration difference determines the distribution in the number of fluorescence emitter, which is equivalent to the source and directly proportional to the fluorescence intensity. When increasing the depth of the rectangular wire to 0.1 mm, again the linear dependence is shown however with an overall lower amplitude, representing the decrease in the number of fluorescence emitter.&lt;br /&gt;
&lt;br /&gt;
== Conclusions ==&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
You can write math equations as follows:&lt;br /&gt;
&amp;lt;math&amp;gt;y = x^2 + 5 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can include images as follows (you will need to upload the image first using the toolbox on the left bar, using the &amp;quot;Upload file&amp;quot; link).&lt;br /&gt;
&lt;br /&gt;
[[File:Snip 20210106183207.png|200px]]&lt;/div&gt;</summary>
		<author><name>Bohan</name></author>
	</entry>
</feed>