Next Article in Journal
The Role of Artificial Intelligence in Echocardiography
Previous Article in Journal
Developing an Echocardiography-Based, Automatic Deep Learning Framework for the Differentiation of Increased Left Ventricular Wall Thickness Etiologies
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Scoring-Based Genetic Algorithm for Wavefront Shaping to Optimize Multiple Objectives

1
Department of Physics, Applied Physics, and Astronomy, Rensselaer Polytechnic Institute, 110 8th Street, Troy, New York, NY 12180, USA
2
Electrical, Computer, and Systems Engineering Department, Rensselaer Polytechnic Institute, 110 8th Street, Troy, New York, NY 12180, USA
3
Center for Ultrafast Optical Sciences, University of Michigan, Ann Arbor, MI 48109, USA
*
Author to whom correspondence should be addressed.
These authors contributed equally to this work.
J. Imaging 2023, 9(2), 49; https://doi.org/10.3390/jimaging9020049
Submission received: 8 December 2022 / Revised: 13 February 2023 / Accepted: 15 February 2023 / Published: 18 February 2023
(This article belongs to the Section AI in Imaging)

Abstract

:
We present a scoring-based genetic algorithm (SBGA) for wavefront shaping to optimize multiple objectives at a time. The algorithm is able to find one feasible solution despite having to optimize multiple objectives. We employ the algorithm to generate multiple focus points simultaneously and allocate their intensities as desired. We then introduce a third objective to confine light focusing only to desired targets and prevent irradiation in neighboring regions. Through simulations and experiments, we demonstrate the algorithm’s ease of implementation and flexibility to control the search direction. This algorithm can potentially be applied to improve biomedical imaging, optogenetics, and optical trapping.

1. Introduction

Light scattered by turbid materials retains substantial information, and wavefront shaping methods utilize this information from the seemingly random scattered photons to focus light beyond scattering media [1]. These techniques optimize the incident wavefront with a spatial light modulator (SLM) to compensate for multiple scattering events in the material. This has been done through methodologies based on phase conjugation [2,3], a transmission matrix [4,5], and a semi-definite programming [6] approach or feedback-based optimization [7,8,9].
The objective of most studies has been to find a single focus spot [10,11,12]. However, various biomedical applications, including photodynamic therapy (PDT) [13], optogenetics approaches [14], and optical trapping [15], often require irradiation of multiple cells, neurons, or targets at the same time. It is also important to prevent light exposure of healthy cells during PDT or undesired targets for optogenetics applications. In order to achieve light focusing at multiple spots, different metrics are utilized simultaneously for the optimization process. And as such, multiple point focusing has been treated as a multi-objective optimization problem [16]. One of the optimization techniques that is well suited to solve such problems is the genetic algorithm (GA) [17].
GA is a metaheuristic algorithm that mimics the natural evolution process and tries to find an optimal solution to a problem. Feedback-based wavefront shaping methods have already adopted the GA to find the optimal solution because of its better performance in noisy environments [18,19,20,21]. The GA’s ability to search for solutions with multiple objective functions or discriminants has made it an attractive proposition to tackle the problem of multi-point focusing.
One such GA-based algorithm is the non-dominated sorting GA II (NSGA2) [22], which has been used in wavefront shaping to achieve multi-point focusing [23]. NSGA2 looks for a set of solutions known as the Pareto set [24], which are optimal solutions in the space of objective functions in multi-objective optimization problems. The Pareto set therefore expands further with the increased number of objectives, and thus the optimization process becomes more complex. Furthermore, it was shown [25] that the search ability and performance of Pareto dominance-based algorithms such as NSGA2 degrades for problems with many objectives.
In this paper, we propose a simple scoring-based genetic algorithm (SBGA) that can reach a feasible solution despite having multiple objectives. It treats the problem of multi-point focusing as a single objective problem by combining the scores of each solution. Every solution is given a score according to its ability to optimize a particular objective function or discriminant. The search direction of the algorithm can be easily controlled. We demonstrate simultaneous focusing at multiple points where both enhancement and uniformity are taken into account with experiments and simulations. Additionally, we demonstrate that a predefined target intensity distribution over a region can be achieved by the algorithm. In addition to the problem of multi-point focusing, we consider reducing irradiation in the neighboring regions and introduce for the first time a third objective. We compare numerically and experimentally the performance of NSGA2 with that of SBGA when solving a test problem, where objectives are strongly correlated and conflicting. SBGA can be used in applications that require selectivity, where light is focused at specific targets and unwanted irradiation needs to be actively controlled.

2. Principle

SBGA is implemented for feedback-based wavefront shaping and is designed to optimize multiple objectives, e.g., creating multiple foci through a scattering medium simultaneously. For wavefront shaping, each generation consists of many individuals, where phase masks are treated as individuals. Each individual acquires a score based on its ability to achieve an objective. The algorithm continues to retain the better individuals and discard the worse ones through generations. The following three cases are considered to demonstrate the working principle of SBGA.

2.1. Multi-Point Focusing

Two objectives to be considered for multi-point focusing are enhancement and uniformity. We define two discriminants ( f 1 , f 2 ), similar to those in Hu et al. [26], to evaluate the performance of each phase mask:
f 1 = I ¯ = 1 M m = 1 M I m
f 2 = σ M / I ¯
Here, M is the number of targets or focus points, f 1 is the average intensity of M points, I m is the intensity at the m t h focus, and σ M is the standard deviation of the intensity of M focus points. Higher average intensity corresponds to higher enhancement. Therefore, higher scores denoted as S 1 are assigned to the masks that obtain higher f 1 values. Since the other objective is to equally distribute the intensity among all focus points, we want the relative standard deviation (or the coefficient of variance), f 2 , to be minimized. Thus, better scores denoted as S 2 are assigned to the masks with smaller f 2 values.
To assign scores, the phase masks are first sorted in ascending or descending order determined by their performance in optimizing an objective function, f i . The score ( S i ), which is related to a discriminant ( f i ), is then assigned to a phase mask based on its ranking. For instance, the phase mask with the best performance receives S i = n , where n is the number of phase masks in one generation. The second-best phase mask receives S i = n 1 . Lastly, the phase mask with the worst performance receives S i = 1 . The score-assigning scheme prevents solutions that are good at only optimizing one discriminant from being overestimated. For the remainder of the paper, the same score-assigning scheme is used for all discriminants.
The final score for each phase mask in one generation is calculated by the following equation:
S f = a S 1 + b S 2
in which a and b are two ranking coefficients to weight the scores. The ranking coefficients can be adjusted if one wishes to emphasize one objective over the other. Phase masks with higher scores are more likely to be picked as parents for the next generation.

2.2. Controlled Intensity Distribution

The second discriminant, Equation (2), is modified to realize a predefined intensity distribution.
f 2 = σ M ( I m )
where I m = I m / p m , p m is the desired relative intensity at the mth focus, and σ M is the standard deviation of I m . S 1 , S 2 , and S f are assigned to individual phase mask through the same procedure as described in Section 2.1. Here, S 2 is the score assigned based on f 2 .
S f = a S 1 + b S 2

2.3. Intensity Minimization in Neighboring Region

When dealing with multi-point focusing, especially if the goal is to form a specific pattern, it is common to have concomitant focusing near the targets. Another discriminant characterizing the neighbor pixels is added to confine light focusing only to the desired pixels:
f 3 = j I j
where I j is the intensity of the jth neighbor pixel, and f 3 is the total intensity of the neighbor pixels. For this case, a smaller f 3 is preferred. A higher score S 3 is assigned to the phase mask, which results in a smaller f 3 value. The final score for each phase mask is now:
S f = a S 1 + b S 2 + c S 3
where c is an additional ranking coefficient associated with the third score S 3 .

2.4. Comparison with NSGA2

The standout feature of SBGA allows a multi-dimension problem to be converted into a one-dimension one in the score space, and the search direction can be controlled by changing the ranking coefficients to find one feasible solution.
An illustrative comparison of NSGA2 and SBGA is presented in Figure 1. NSGA2 searches for a front of solutions. It is often followed by a decision-making procedure to find a single optimal solution. By contrast, SBGA searches in one direction. By combining the scores, SBGA also limits the survival rate of solutions that are good at optimizing only one objective. The performance of these algorithms also depends on the correlation of the objective functions. For example, if the objectives are strongly correlated and conflicting at the same time, they might need to be ordered according to importance. This can be easily implemented with SBGA by choosing the appropriate ranking coefficients in Equation (7).

2.5. Detailed Steps

A flowchart of SBGA is presented in Figure 2. The detailed steps are as follows:
Step 1. 
Set up the parameters for the experiment: the population size or the number of phase masks in each generation (n), dimension (number of superpixels) of a single phase mask ( H × W ), number of phase steps for every superpixel ( ϕ ), total number of iterations or generations ( i t e r t o t a l ), current iteration count ( i t e r = 1 ), rate of mutation ( 0 r m u t < 1 ).
Step 2. 
Choose targets and discriminants according to the desired objectives. For the cases described in Section 2.2 and Section 2.3, desired intensity p m and the region of neighboring pixels need to be defined, respectively. Specify ranking coefficients (a, b, and c).
Step 3. 
Generate n random phase masks that contain H × W superpixels in the first iteration. The phase of each superpixel is randomly selected from { 1 · 2 π / ϕ , 2 · 2 π / ϕ , , ϕ · 2 π / ϕ } .
Step 4. 
Display all phase masks in the current generation, and record the intensity of the area of interest.
Step 5. 
Determine individual phase masks’ scores S i based on each objective function and calculate final score S f .
Step 6. 
Select parents based on scores and generate children (half of the population size, 1 / 2 × n , Appendix A). The children will replace half of the phase masks with the lowest scores from the previous generation. (current iteration count, i t e r = i t e r + 1 )
Step 7. 
Continue to step 8 if i t e r = = i t e r t o t a l . Otherwise, go back to step 4.
Step 8. 
The mask with the best score from the last generation is chosen as the optimal solution.

3. Simulation Results

Simulation results are presented to show the performance of SBGA compared with NSGA2 [27]. Light waves through a scattering medium are modeled as plane waves propagating in different directions. A speckle field is created by the interference between these randomly generated plane waves [28]. To achieve a desired output pattern, SBGA (or NSGA2) is then applied to find the optimal phase mask represented by a H × W matrix ( H = W = 128 ). The simulation was run on an Intel i5-13600k CPU. For both NSGA2 and SBGA, it took about 1.5 min to finish a 1000-generation simulation.
The results of SBGA are presented in Figure 3 We use the ranking coefficients ( a , b , c ) = ( 2 , 1 , 0 ) (the neighbor intensity is not considered) and ( a , b , c ) = ( 2 , 1 , 1 ) (neighbor intensity is now considered). Figure 3a displays the target N pattern. The resultant speckle patterns obtained with SBGA after 1000 generations with and without neighboring intensity are shown in Figure 3b,c, respectively. The progress of the three objective functions I ¯ , σ M / I ¯ , and I N B R over generations are shown in Figure 3d–f, respectively. These curves are the average results of 10 distinctive simulations while the speckle intensity images were obtained from one of these trials. It can be seen in Figure 3f that the neighboring intensity has increased through generations due to the optimization of nearby targets. However, the introduction of the third objective minimizes I N B R when compared to the scenario of not utilizing this discriminant.
The trend of search quality and convergence progress of NSGA2 and SBGA over generations is presented in Figure 4. Three discriminant functions ( f 1 , f 3 , f 3 ) with two different sets of coefficients, ( a , b , c ) = ( 1 , 1 , 1 ) or ( 2 , 1 , 1 ) are considered and the population from generations 1, 500, and 1000 are shown to demonstrate the algorithms’ performance.
NSGA2 and SBGA with ( a , b , c ) = ( 1 , 1 , 1 ) would not effectively work in case the discriminants have a strong correlation but conflicting goals, i.e., maximal average intensity and minimal neighboring intensity (Figure 4a,b). The strength of the correlation between intensities, which is related to the speckles’ grain size, becomes crucial for experiments that might lead to the failure of certain algorithms. While the correlation effect can be limited by choosing a different neighboring region, e.g., a few pixels away from the focus points, the coefficients used in SBGA can be modified to ensure the success of the algorithm (Figure 4c). We will demonstrate and further discuss this case in the experimental results.
The Pearson correlation coefficient (PCC, denoted by γ ) is used to evaluate the quality of the focus pattern [29]. It is calculated by:
γ = k I k ( C ) < I ( C ) > I k ( T ) < I ( T ) > k I k ( C ) < I ( C ) > 2 k I k ( T ) < I ( T ) > 2 1 / 2
Here, I k ( C ) is the intensity at the kth pixel of the camera, and I k ( T ) is the target intensity at the kth pixel. < I ( C ) > and < I ( T ) > are the average of I k ( C ) and I k ( T ) , respectively. The summation ( k ) is calculated over the whole area of interest. In our case, Figure 3b is our area of interest.
Figure 5 shows the PCCs and average intensities I ¯ for different sets of ranking coefficients ( a , b , c ) after 1000 generations. Here, the highest possible PCC value is limited by the speckles’ grain size. A trade-off between the average intensity and the PCC can be seen after introducing the neighboring intensity, which can be balanced by the coefficients.

4. Experimental Setup

The experimental setup is illustrated in Figure 6. The light source is a continuous wave (CW) helium-neon laser (HeNe, λ = 632.8 nm , JDS Uniphase 1101/P, 1.65 mW, polarized, JDS Uniphase Corporation, Milpitas, California, USA). The beam is expanded and incident on a phase-only SLM (Santec SLM-200, 1920 × 1080 pixels, pixel size 7.8 μ m × 7.8 μ m, Santec Corporation, Komaki, Japan). The polarization of the incident beam is controlled by a half-wave plate (HWP). The reflected beam is transmitted through a 4f imaging system (not shown) and focused on a scattering sample (ground glass) by a microscope objective (MO1, 10×, NA = 0.3, Olympus SPlan10, Olympus Corporation, Tokyo, Japan).
A second microscopic objective (MO2, 20×, NA = 0.4, Olympus NeoSPlan20, Olympus Corporation, Tokyo, Japan) was used to collect the speckle from the sample. An sCMOS camera (Thorlabs CS2100M, 1920 × 1080 pixels, pixel size 5.04 μ m × 5.04 μ m, Thorlabs, Newton, New Jersey, USA) was used to record the speckle. Both the SLM and the camera were controlled by MATLAB scripts.

5. Experimental Results and Discussion

5.1. Multi-Point Focusing

To test the efficacy of the SBGA algorithm, we generated multiple focal points simultaneously through the scattering medium.
After running through 600 generations, the algorithm was able to optimize 98 targets at the same time. A handwritten ‘ N ’ can be clearly seen in the speckle image shown in Figure 7c. For this experiment, only discriminants f 1 and f 2 were used with the ranking coefficients ( a , b ) = ( 2 , 1 ) (Equation (3)).
Figure 7a,b show that the algorithm achieved both objectives, i.e., increasing the average intensity and decreasing the relative standard deviation at the same time. Other parameters chosen for the experiment are H = W = 150 , ϕ = 20 , n = 50 , and r m u t = 4.4 % .

5.2. Controlled Intensity Distribution

To demonstrate control of the intensity distribution, we targeted a two-dimensional Gaussian intensity distribution within a 20 × 20 pixels area. A total of 400 pixels were taken into account as targets by the algorithm.
The increment of average intensity is shown in Figure 8a. Figure 8b shows that the final intensity distribution matches well with the target intensity distribution. In Figure 8c, the region focus we obtained in the speckle after 500 generations is displayed. This time, discriminants ( f 1 , f 2 ) were used with ranking coefficients ( a , b ) = ( 2 , 1 ) (Equation (5)). Other parameters were H = W = 40 , ϕ = 20 , n = 50 , and r m u t = 1.25 % .

5.3. Intensity Minimization in Neighboring Region

Here, we introduce the third discriminant ( f 3 ) relevant to the neighbor intensity (Equation (7)) and create an ‘ N ’ pattern again. The ranking coefficients are ( a , b , c ) = ( 2 , 1 , 0.5 ) . The other parameters are H = W = 150 , ϕ = 20 , n = 50 , and r m u t = 4.4 % .
An area consisting of 50 × 50 pixels around the targets is considered as the neighboring region. Figure 9 shows a comparison between the target N , and the optimized speckle image without and with the neighboring intensity minimized. A few unwanted focus points in the neighboring region (marked by red circles) are observed in Figure 9b, which are minimized in Figure 9c.
Therefore, adding the third discriminant results in better localization of targets in comparison with the one achieved without considering the neighboring intensity. Additional results of the different patterns “R”, “P”, and “I” are shown in Figure 10. Three discriminants with ranking coefficients ( a , b , c ) = ( 2 , 1 , 0.5 ) were considered for this experiment. Since the pattern “I” has a smaller number of focus points (61 pixels), its average intensity is higher than “R” (96 pixels) and “P” (82 pixels).
For the purpose of comparison, we have employed both NSGA2 and SBGA with two discriminants ( f 1 , f 2 ). Figure 11a,b show experimental results of the population from three different generations (1st, 300th, and 600th) when using NSGA2 and SBGA, respectively. It can be noticed that SBGA is able to find better solutions in comparison to NSGA2 with the same number of generations. Figure 11c,d show that the neighboring intensity increases with the average intensity in a similar trend for both algorithms when using two discriminants ( f 1 , f 2 ).
Figure 12a shows the experimental results of using NSGA2 to optimize three discriminants. The algorithm did not find a good solution due to the strong correlation between the neighboring and the average intensity of targets. The SBGA with coefficients ( a , b , c ) = ( 1 , 1 , 1 ) had the same issue (Figure 12b). The problem can be solved with SBGA by simply changing the ranking coefficients to emphasize one objective more than the others.
To better illustrate the flexibility to control search direction and quality offered by SBGA, the populations from three generations with different coefficients are shown in Figure 13a–c. The relation between the neighboring intensity and the average intensity of targets is shown in Figure 13d–f. The solid line in each 2-D plot indicates the trend of the corresponding 3-D plot (Figure 13a–c) and the dashed lines are used for comparison with the trends of the two other 3-D plots.
Figure 13d–f show that the addition of the third discriminant and modification of ranking coefficients ensure an increase in target intensity while limiting neighboring intensity.
The Pearson correlation coefficient (PCC), γ (Equation (8)), was used to evaluate the quality of the experimental result as well. Figure 14 shows the relationship between average intensity I ¯ and PCC for different sets of ranking coefficients. Similar to the simulation results (Figure 5), when a and b remain unchanged, a higher value of c results in a higher value of PCC with a compromise in I ¯ . We have also tested the GA with PCC as the only discriminant as used in Wan et al. [29]. Although the highest PCC was achieved with that discriminant, the average intensity is very low (Figure 14). With our algorithm, it is possible to acquire better enhancement and high PCC values at the same time. The enhancement of the targets with this algorithm can be noted as η = I ¯ f i n a l / I ¯ i n i t i a l = 3.5∼6, varying with the choice of c. The total enhancement ( η × number of foci) is, therefore, 350∼600 times, which is close to the existing algorithms for multi-point focusing [16,30]. Meanwhile, we were able to avoid the forming of unwanted focus in specific regions. The region can be the neighboring pixels to increase the image quality (as shown in Figure 9), or other areas where minimal exposure to scattered light is desired. This is important for applications such as optogenetics where specificity is a major issue.
The choice of ranking coefficients depends on the objectives and their order of importance. We have compared the results obtained with different coefficients. From our study, we have found that ranking coefficients between ( a , b , c ) = ( 2 , 1 , 0.5 ) and ( a , b , c ) = ( 2 , 1 , 1 ) give the best results. a was chosen to be 2 so that the average intensity I ¯ is weighted more to ensure bright foci. By comparing the results, we have found that c [0.5, 1] reduces the light in neighboring pixels without affecting the average intensity. This range of c also leads to a good image quality (high PCC value).

6. Conclusions

In summary, we presented a scoring-based genetic algorithm (SBGA) that is able to find one optimal solution for multiple objectives. It is simple, flexible, and can be easily adjusted to change the search direction and emphasize specific objectives. Additionally, we experimentally demonstrated that SBGA can evolve faster when compared to NSGA2. We demonstrated the application of SBGA to three different cases. A clear pattern ‘ N ’ was generated by focusing light on 98 pixels simultaneously. We also realized region focusing with predefined Gaussian intensity distribution consisting of 400 pixels. In order to confine light focusing only to the desired region, we introduced a third discriminant. This prevents unwanted light from focusing on the adjacent area. SBGA can be applied to a variety of applications including optical trapping or fluorescence imaging.

Author Contributions

Conceptualization, T.W.; methodology, T.W. and N.R.; software, T.W. and N.R.; data curation, T.W.; writing—original draft preparation, T.W. and N.R.; writing—review and editing, T.W., N.R., P.B. and M.N.; supervision, M.N. and P.B.; funding acquisition, M.N. All authors have read and agreed to the final version of this manuscript.

Funding

This research was funded by National Geospatial Intelligent Agency grant #HM04762010012.

Data Availability Statement

The data presented in this study are available upon request from the corresponding author.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
GAGenetic algorithm
NSGA2Non-dominated sorting genetic algorithm
SBGAScoring-based genetic algorithm
PCCPearson correlation coefficient
SLMSpatial light modulator
HWPHalf-wave plate
BSBeam splitter
MOMicroscope objective
sCMOS camerascientific complementary metal–oxide–semiconductor camera

Appendix A. Parents Selection and Children Generation

Four individual phase masks in the current generation are randomly chosen as potential parents, and then the two with the highest scores are selected to be the parents ( P 1 & P 2 ). By uniform crossover, n / 2 children are generated (Equation (A1)):
C i = P 1 · T i + P 2 · ( 1 T i )
in which C i is the ith child, and T i is a H × W random logical matrix. The numbers 1 and 0 in T i are roughly equal. After the generation, pairs of superpixels are picked according to r m u t and mutated by switching phases.

Appendix B. List of Variables

I m : intensity at the mth focus
M: number of focus points
I ¯ = 1 / M · m = 1 M I m , average intensity of all focus points
p m : desired relative intensity at the mth focus
I m : I m / p m , intensity at the mth focus divided by desired relative intensity
σ M , σ M : standard deviation of I m , I m
I j : intensity of the jth neighbor pixel
I N B R : sum intensity of neighbor pixels
I k ( C ) : intensity at the kth pixel of the camera ( I m and I j )
I k ( T ) : target intensity at the kth pixel
< I ( C ) > , < I ( T ) > : average of I k ( C ) and I k ( T )
γ : Pearson correlation coefficient (PCC)
η : enhancement of average intensity
f 1 , f 2 , f 2 , f 3 : objective functions (discriminants)
S 1 , S 2 , S 2 , S 3 : scores
a, b, c: ranking coefficients
S f : final score
n: number of phase masks in each generation
H, W: the dimension of a single phase mask
ϕ : phase step for every superpixel
i t e r t o t a l : total number of iterations or generations
i t e r : current iteration count
r m u t : rate of mutation
P 1 , P 2 : parent phase mask
C i : the ith child phase mask
T i : ith random matrix for children generation

References

  1. Vellekoop, I.M.; Mosk, A.P. Focusing coherent light through opaque strongly scattering media. Opt. Lett. 2007, 32, 2309–2311. [Google Scholar] [CrossRef] [PubMed]
  2. Yaqoob, Z.; Psaltis, D.; Feld, M.; Yang, C. Optical phase conjugation for turbidity suppresion in biological samples. Nat. Photonics 2008, 116, 110–115. [Google Scholar] [CrossRef] [Green Version]
  3. Liu, Y.; Ma, C.; Shen, Y.; Shi, J.; Wang, L.V. Focusing light inside dynamic scattering media with millisecond digital optical phase conjugation. Optica 2017, 4, 280–288. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  4. Popoff, S.M.; Lerosey, G.; Carminati, R.; Fink, M.; Boccara, A.C.; Gigan, S. Measuring the Transmission Matrix in Optics: An Approach to the Study and Control of Light Propagation in Disordered Media. Phys. Rev. Lett. 2010, 104, 100601. [Google Scholar] [CrossRef]
  5. N’Gom, M.; Norris, T.B.; Michielssen, E.; Nadakuditi, R.R. Mode control in a multimode fiber through acquiring its transmission matrix from a reference-less optical system. Opt. Lett. 2018, 43, 419–422. [Google Scholar] [CrossRef] [PubMed]
  6. N’Gom, M.; Lien, M.B.; Estakhri, N.M.; Norris, T.B.; Michielssen, E.; Nadakuditi, R.R. Controlling Light Transmission Through Highly Scattering Media Using Semi-Definite Programming as a Phase Retrieval Computation Method. Sci. Rep. 2017, 7, 2045–2322. [Google Scholar] [CrossRef] [Green Version]
  7. Stockbridge, C.; Lu, Y.; Moore, J.; Hoffman, S.; Paxman, R.; Toussaint, K.; Bifano, T. Focusing through dynamic scattering media. Opt. Express 2012, 20, 15086–15092. [Google Scholar] [CrossRef]
  8. Vellekoop, I.M. Feedback-based wavefront shaping. Opt. Express 2015, 23, 12189–12206. [Google Scholar] [CrossRef]
  9. Vellekoop, I.; Mosk, A. Phase control algorithms for focusing light through turbid media. Opt. Commun. 2008, 281, 3071–3080. [Google Scholar] [CrossRef] [Green Version]
  10. Stern, G.; Katz, O. Noninvasive focusing through scattering layers using speckle correlations. Opt. Lett. 2019, 44, 143–146. [Google Scholar] [CrossRef] [Green Version]
  11. Daniel, A.; Oron, D.; Silberberg, Y. Light focusing through scattering media via linear fluorescence variance maximization, and its application for fluorescence imaging. Opt. Express 2019, 27, 21778–21786. [Google Scholar] [CrossRef] [Green Version]
  12. Fang, L.; Zhang, X.; Zuo, H.; Pang, L. Focusing light through random scattering media by four-element division algorithm. Opt. Commun. 2018, 407, 301–310. [Google Scholar] [CrossRef]
  13. dos Santos, A.F.; de Almeida, D.R.Q.; Terra, L.F.; Baptista, M.S.; Labriola, L. Photodynamic therapy in cancer treatment—An update review. J. Cancer Metastasis Treat. 2019, 5, 2454–2857. [Google Scholar] [CrossRef] [Green Version]
  14. Fenno, L.; Yizhar, O.; Deisserothz, K. The development and application of optogenetics. Annu. Rev. Neurosci. 2011, 34, 389–412. [Google Scholar] [CrossRef] [PubMed]
  15. Woerdemann, M.; Alpmann, C.; Esseling, M.; Denz, C. Advanced optical trapping by complex beam shaping. Laser Photonics Rev. 2013, 7, 839–854. [Google Scholar] [CrossRef]
  16. Feng, Q.; Yang, F.; Xu, X.; Zhang, B.; Ding, Y.; Liu, Q. Multi-objective optimization genetic algorithm for multi-point light focusing in wavefront shaping. Opt. Express 2019, 27, 36459–36473. [Google Scholar] [CrossRef]
  17. Zolpakar, N.A.; Lodhi, S.S.; Pathak, S.; Sharma, M.A. Application of Multi-Objective Genetic Algorithm (MOGA) Optimization in Machining Processes; Springer International Publishing: Cham, Switzerland, 2020; pp. 185–199. [Google Scholar] [CrossRef]
  18. Conkey, D.B.; Brown, A.N.; Caravaca-Aguirre, A.M.; Piestun, R. Genetic algorithm optimization for focusing through turbid media in noisy environments. Opt. Express 2012, 20, 4840–4849. [Google Scholar] [CrossRef]
  19. Wu, D.; Luo, J.; Li, Z.; Shen, Y. A thorough study on genetic algorithms in feedback-based wavefront shaping. J. Innov. Opt. Health Sci. 2019, 12, 1942004. [Google Scholar] [CrossRef] [Green Version]
  20. Zhang, X.; Kner, P. Binary wavefront optimization using a genetic algorithm. J. Opt. 2014, 16, 125704. [Google Scholar] [CrossRef]
  21. Anderson, B.R.; Eilers, H. Genetic algorithms for focusing inside opaque media. J. Opt. 2020, 22, 085601. [Google Scholar] [CrossRef]
  22. Deb, K.; Pratap, A.; Agarwal, S.; Meyarivan, T. A fast and elitist multiobjective genetic algorithm: NSGA-II. IEEE Trans. Evol. Comput. 2002, 6, 182–197. [Google Scholar] [CrossRef] [Green Version]
  23. Zhao, Y.; Tang, Z.; Xiang, C.; Ding, Y. Superpixel-based multi-point intensity customizable light focusing for reflective iterative optimization wavefront shaping. Optik 2021, 242, 167319. [Google Scholar] [CrossRef]
  24. Konak, A.; Coit, D.W.; Smith, A.E. Multi-objective optimization using genetic algorithms: A tutorial. Reliab. Eng. Syst. Saf. 2006, 91, 992–1007. [Google Scholar] [CrossRef]
  25. Ishibuchi, H.; Matsumoto, T.; Masuyama, N.; Nojima, Y. Effects of Dominance Resistant Solutions on the Performance of Evolutionary Multi-Objective and Many-Objective Algorithms. In Proceedings of the 2020 Genetic and Evolutionary Computation Conference, Cancun, Mexico, 8–12 July 2020; Association for Computing Machinery: New York, NY, USA, 2020; pp. 507–515. [Google Scholar]
  26. Hu, Y.; Yang, F.; He, J.; Ding, Y. Controllable multi-point light focusing of feedback wavefront shaping based on phase superposition Hadamard encoding algorithm. Optik 2022, 253, 168549. [Google Scholar] [CrossRef]
  27. Seshadri, A. NSGA-II: A Multi-Objective Optimization Algorithm. MATLAB Central File Exchange. 2022. Available online: https://www.mathworks.com/matlabcentral/fileexchange/10429-nsga-ii-a-multi-objective-optimization-algorithm (accessed on 24 October 2022).
  28. Marcoleonetti1. Laser Speckle/Point Spread Function Generator. MATLAB Central File Exchange. 2022. Available online: https://www.mathworks.com/matlabcentral/fileexchange/94310-laser-speckle-point-spread-function-generator (accessed on 24 October 2022).
  29. Wan, L.; Chen, Z.; Huang, H.; Pu, J. Focusing light into desired patterns through turbid media by feedback-based wavefront shaping. Appl. Phys. 2016, 122, 204. [Google Scholar] [CrossRef]
  30. Conkey, D.B.; Piestun, R. Color image projection through a strongly scattering wall. Opt. Express 2012, 20, 27312. [Google Scholar] [CrossRef] [PubMed]
Figure 1. Searching scheme of NSGA2 and SBGA. (a) NSGA2 retains a front formed by the solutions in each generation. (b) SBGA reduces the problem to one dimension in the score space and searches in a specific direction (NSGA2: Non-dominated Sorting Genetic Algorithm II, SBGA:Scoring-Based Genetic Algorithm).
Figure 1. Searching scheme of NSGA2 and SBGA. (a) NSGA2 retains a front formed by the solutions in each generation. (b) SBGA reduces the problem to one dimension in the score space and searches in a specific direction (NSGA2: Non-dominated Sorting Genetic Algorithm II, SBGA:Scoring-Based Genetic Algorithm).
Jimaging 09 00049 g001
Figure 2. Flowchart of SBGA for wavefront shaping.
Figure 2. Flowchart of SBGA for wavefront shaping.
Jimaging 09 00049 g002
Figure 3. Simulation results of SBGA. (a) Target N pattern. (b) Optimal speckle image with two discriminants ( a , b , c ) = ( 2 , 1 , 0 ) . (c) Optimal speckle image with three discriminants ( a , b , c ) = ( 2 , 1 , 1 ) . Progress of (d) average intensity, (e) relative standard deviation, and (f) neighboring intensity with the number of generations. (b,c) were normalized separately.
Figure 3. Simulation results of SBGA. (a) Target N pattern. (b) Optimal speckle image with two discriminants ( a , b , c ) = ( 2 , 1 , 0 ) . (c) Optimal speckle image with three discriminants ( a , b , c ) = ( 2 , 1 , 1 ) . Progress of (d) average intensity, (e) relative standard deviation, and (f) neighboring intensity with the number of generations. (b,c) were normalized separately.
Jimaging 09 00049 g003
Figure 4. Simulation results considering 3 discriminants for (a) NSGA2, (b) SBGA with ( a , b , c ) = ( 1 , 1 , 1 ) , and (c) SBGA with ( a , b , c ) = ( 2 , 1 , 1 ) . The solutions from generations 1 (random phase masks), 500, and 1000 (last generation) are shown.
Figure 4. Simulation results considering 3 discriminants for (a) NSGA2, (b) SBGA with ( a , b , c ) = ( 1 , 1 , 1 ) , and (c) SBGA with ( a , b , c ) = ( 2 , 1 , 1 ) . The solutions from generations 1 (random phase masks), 500, and 1000 (last generation) are shown.
Jimaging 09 00049 g004
Figure 5. Pearson correlation coefficients (PCC) and average intensities I ¯ for different sets of ranking coefficients ( a , b , c ) after 1000 generations. The ranking coefficients are labeled near the points. The initial point is also shown in the bottom left corner.
Figure 5. Pearson correlation coefficients (PCC) and average intensities I ¯ for different sets of ranking coefficients ( a , b , c ) after 1000 generations. The ranking coefficients are labeled near the points. The initial point is also shown in the bottom left corner.
Jimaging 09 00049 g005
Figure 6. Schematic of the experimental setup. The expanded incident beam ( λ = 632.8 nm) passes through a half-wave plate (HWP) and a beam splitter (BS) to the spatial light modulator (SLM). From the SLM, the beam is focused onto the scattering sample by a microscope objective (MO1). The speckle is collected by MO2 and imaged by an sCMOS camera.
Figure 6. Schematic of the experimental setup. The expanded incident beam ( λ = 632.8 nm) passes through a half-wave plate (HWP) and a beam splitter (BS) to the spatial light modulator (SLM). From the SLM, the beam is focused onto the scattering sample by a microscope objective (MO1). The speckle is collected by MO2 and imaged by an sCMOS camera.
Jimaging 09 00049 g006
Figure 7. Multi-point focusing optimization using SBGA with two discriminants ( f 1 , f 2 ). (a) The average intensity of the predefined targets over generations. (b) The relative standard deviation of the intensity of all the targets. (c) Optimal speckle image.
Figure 7. Multi-point focusing optimization using SBGA with two discriminants ( f 1 , f 2 ). (a) The average intensity of the predefined targets over generations. (b) The relative standard deviation of the intensity of all the targets. (c) Optimal speckle image.
Jimaging 09 00049 g007
Figure 8. Intensity distribution controlled using SBGA with two discriminants ( f 1 , f 2 ). (a) Average intensity of the 20 × 20 pixels area over 500 generations. (b) Normalized optimal intensity along the horizontal and vertical lines across the center. The desired target intensity distribution is shown by the yellow dashed line. (c) Optimal speckle image.
Figure 8. Intensity distribution controlled using SBGA with two discriminants ( f 1 , f 2 ). (a) Average intensity of the 20 × 20 pixels area over 500 generations. (b) Normalized optimal intensity along the horizontal and vertical lines across the center. The desired target intensity distribution is shown by the yellow dashed line. (c) Optimal speckle image.
Jimaging 09 00049 g008
Figure 9. Neighboring intensity minimization using SBGA. (a) The target pattern, ‘ N ’. (b) Optimal speckle image without minimizing neighboring intensity ( f 1 , f 2 ). (c) Optimal speckle image with the third discriminant to minimize neighboring intensity ( f 1 , f 2 , f 3 ). The main differences are marked by the red circles.
Figure 9. Neighboring intensity minimization using SBGA. (a) The target pattern, ‘ N ’. (b) Optimal speckle image without minimizing neighboring intensity ( f 1 , f 2 ). (c) Optimal speckle image with the third discriminant to minimize neighboring intensity ( f 1 , f 2 , f 3 ). The main differences are marked by the red circles.
Jimaging 09 00049 g009
Figure 10. Patterns “R” (a), “P” (b), and “I” (c) were created experimentally by utilizing SBGA with three discriminants ( f 1 , f 2 , f 3 ) and ranking coefficient ( a , b , c ) = ( 2 , 1 , 0.5 ) .
Figure 10. Patterns “R” (a), “P” (b), and “I” (c) were created experimentally by utilizing SBGA with three discriminants ( f 1 , f 2 , f 3 ) and ranking coefficient ( a , b , c ) = ( 2 , 1 , 0.5 ) .
Jimaging 09 00049 g010
Figure 11. Experimental population evolution for NSGA2 (first column) and SBGA (second column). 3-D plots of population evolution with 2 discriminants ( f 1 , f 2 ) for (a) NSGA2, and for (b) SBGA with ranking coefficients ( a , b , c ) = ( 2 , 1 , 0 ) . 2-D plots shown in (c,d) present the relation between average intensity I ¯ and neighboring intensity I N B R . In each 2-D plot, the solid line follows the average evolution trend and the dashed line represents a comparison between NSGA2 (black) and SBGA (blue).
Figure 11. Experimental population evolution for NSGA2 (first column) and SBGA (second column). 3-D plots of population evolution with 2 discriminants ( f 1 , f 2 ) for (a) NSGA2, and for (b) SBGA with ranking coefficients ( a , b , c ) = ( 2 , 1 , 0 ) . 2-D plots shown in (c,d) present the relation between average intensity I ¯ and neighboring intensity I N B R . In each 2-D plot, the solid line follows the average evolution trend and the dashed line represents a comparison between NSGA2 (black) and SBGA (blue).
Jimaging 09 00049 g011
Figure 12. Experimental proof of the limits of NSGA2 and SBGA. Population evolution with three discriminants for (a) NSGA2 and (b) SBGA with equally weighted ranking coefficients ( a , b , c ) = ( 1 , 1 , 1 ) . Solutions from the 1st, 300th, and 600th generations are shown.
Figure 12. Experimental proof of the limits of NSGA2 and SBGA. Population evolution with three discriminants for (a) NSGA2 and (b) SBGA with equally weighted ranking coefficients ( a , b , c ) = ( 1 , 1 , 1 ) . Solutions from the 1st, 300th, and 600th generations are shown.
Jimaging 09 00049 g012
Figure 13. 3-D and 2-D plots of experimental population evolution of SBGA with three discriminants ( f 1 , f 2 , f 3 ) and three different sets of ranking coefficients (a) ( a , b , c ) = ( 2 , 1 , 0 ) , (b) ( a , b , c ) = ( 2 , 1 , 0.5 ) , and (c) ( a , b , c ) = ( 2 , 1 , 1 ) . The 2-D plots shown in (df) present the relation between average intensity I ¯ and neighboring intensity I N B R . In each 2-D plot, the solid line follows the average evolution trend and the dashed lines represent a comparison between different sets of ranking coefficients.
Figure 13. 3-D and 2-D plots of experimental population evolution of SBGA with three discriminants ( f 1 , f 2 , f 3 ) and three different sets of ranking coefficients (a) ( a , b , c ) = ( 2 , 1 , 0 ) , (b) ( a , b , c ) = ( 2 , 1 , 0.5 ) , and (c) ( a , b , c ) = ( 2 , 1 , 1 ) . The 2-D plots shown in (df) present the relation between average intensity I ¯ and neighboring intensity I N B R . In each 2-D plot, the solid line follows the average evolution trend and the dashed lines represent a comparison between different sets of ranking coefficients.
Jimaging 09 00049 g013
Figure 14. Pearson correlation coefficients (PCCs) and average intensities I ¯ for different sets of ranking coefficients ( a , b , c ) after the 600th generation. The ranking coefficients are labeled near the points. The initial point is also shown in the bottom left corner.
Figure 14. Pearson correlation coefficients (PCCs) and average intensities I ¯ for different sets of ranking coefficients ( a , b , c ) after the 600th generation. The ranking coefficients are labeled near the points. The initial point is also shown in the bottom left corner.
Jimaging 09 00049 g014
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Wang, T.; Rumman, N.; Bassène, P.; N'Gom, M. Scoring-Based Genetic Algorithm for Wavefront Shaping to Optimize Multiple Objectives. J. Imaging 2023, 9, 49. https://doi.org/10.3390/jimaging9020049

AMA Style

Wang T, Rumman N, Bassène P, N'Gom M. Scoring-Based Genetic Algorithm for Wavefront Shaping to Optimize Multiple Objectives. Journal of Imaging. 2023; 9(2):49. https://doi.org/10.3390/jimaging9020049

Chicago/Turabian Style

Wang, Tianhong, Nazifa Rumman, Pascal Bassène, and Moussa N'Gom. 2023. "Scoring-Based Genetic Algorithm for Wavefront Shaping to Optimize Multiple Objectives" Journal of Imaging 9, no. 2: 49. https://doi.org/10.3390/jimaging9020049

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop