Next Article in Journal
Fabrication and Evaluation of a Graphene Oxide-Based Capacitive Humidity Sensor
Next Article in Special Issue
Implementation of Context Aware e-Health Environments Based on Social Sensor Networks
Previous Article in Journal
Underwater Imaging Using a 1 × 16 CMUT Linear Array
Previous Article in Special Issue
Functional Analysis in Long-Term Operation of High Power UV-LEDs in Continuous Fluoro-Sensing Systems for Hydrocarbon Pollution
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Laser Spot Detection Based on Reaction Diffusion

1
Department of Computer Sciences and Automatic Control, UNED, C/ Juan del Rosal, 16, 28040 Madrid, Spain
2
ELI Beamlines, Institute of Physics ASCR, Na Slovance 2, Prague 8, 18221, Czech Republic
3
Facultad de Ciencias Químicas, Benemérita Universidad Autónoma de Puebla, 14 Sur y Av. San Claudio, Col. San Manuel, 72530 Puebla, Mexico
*
Author to whom correspondence should be addressed.
Submission received: 31 December 2015 / Revised: 13 February 2016 / Accepted: 23 February 2016 / Published: 1 March 2016
(This article belongs to the Special Issue State-of-the-Art Sensors Technology in Spain 2015)

Abstract

:
Center-location of a laser spot is a problem of interest when the laser is used for processing and performing measurements. Measurement quality depends on correctly determining the location of the laser spot. Hence, improving and proposing algorithms for the correct location of the spots are fundamental issues in laser-based measurements. In this paper we introduce a Reaction Diffusion (RD) system as the main computational framework for robustly finding laser spot centers. The method presented is compared with a conventional approach for locating laser spots, and the experimental results indicate that RD-based computation generates reliable and precise solutions. These results confirm the flexibility of the new computational paradigm based on RD systems for addressing problems that can be reduced to a set of geometric operations.

1. Introduction

Nowadays, self-organization is a prolific area of research that throughout the last century has struggled with developing models to reproduce the complexity found in nature. Reaction Diffusion (RD) system models belong to this class, and they aim to describe chemical reactions, that under some circumstances [1], may exhibit stable pattern formation, or even more rich dynamics [2,3]. All of these interesting properties have already been explored in the context of problem-solving by means of diverse experimental setups [4,5,6,7,8,9,10]. Unlike its experimental counterparts, computational implementations do not rely on energy dissipation, for there is no consumption of chemical species as is required in the thermodynamics of out-of-equilibrium. Therefore, it results in the appealing possibility of taking advantage of all the properties of RD models’ dynamics, such as their inherent robustness against noisy data and automatic dismissal of the typical drawbacks of experimental setups. Some of these properties include natural parallelism of the model propagation; for instance, the frontwaves that separate stable states into a bistable configuration propagate with constant velocity, and all possible solutions may be explored in parallel [11,12]. Also, due to its strong nonlinear character, the interactions between these wavefronts produce counterintuitive results. It has been shown that such interactions can be used to encapsulate the underlying logic of different types of geometric operations, and indeed, this has led to the development of a novel computational framework capable of addressing robotics-related problems [13,14,15].
In this paper, the problem of finding the center of a laser spot with high accuracy by means of the aforementioned RD-based computational framework is addressed, extending its range of applicability beyond robotic approaches. Traditionally, this problem is carried out in several steps. The algorithms are diverse, depending on the specific applications (e.g., gaming, laser measurement, laser triangulation method, cutting edge laser physics experiments such as laser plasma, X-ray production, sub-atomic particle creation, and even military applications such as target designation or ammunition guidance—See [16] and references therein). However, two main steps can be clearly stated: first, a spot detection, commonly based on recognizing circular- or ellipsoidal-like shapes combined with color selectivity, followed by the actual computation of the spot center. Here, only the computation of the center is considered, since we are interested in applications where high accuracy is required, such as high-tech laser experiments, wherein the laser spot is known to occupy the majority of the detection system’s output (such as an image provided by a CCD sensor). Contrastingly, in the latter we expect notable aberrations caused by complex production, alignment, and focusing systems. In a research facility such as ELI Beamlines [17], a laser beam is expected to encounter tens of optical devices, such as mirrors (static and deformable), telescopes, lenses, etc., from its production and during its transport towards experimental targets. Therefore, a highly accurate method for performing calibration of the beams is needed. In addition, this method may also be used for post processing of experimental data, wherein accuracy, above speediness, is required for fine-tuning and high-quality experimental characterization of the produced beams.
This paper is organized as follows. The next section provides a brief introduction to the RD systems and a short explanation about how the external (i.e., sensory) information can be introduced into the model dynamics. Section 3 introduces a standard algorithm for the location of a laser spot center, intended to provide a suitable comparison method for the RD-based approach, along with the description of the RD algorithm. The experimental results, as well as a brief discussion of our findings, are presented in Section 4. This paper concludes in Section 5 with a summary of contributions and conclusions, as well as our future directions.

2. The Reaction Diffusion System

A detailed description of the relevant information about RD systems and their dynamics, required for the comprehension of this text, can be found in our previous work [15]; nevertheless, for the sake of clarity and self-containment, some fundamental concepts will be reproduced in this and the following sections. A RD model can be written in the simplest way as a system of two equations:
u ˙ = f u , v + D u u v ˙ = g u , v + D v v
Computationally, this system describes the spatio-temporal evolution of both state variables u = u x , t and v = v x , t over an integration grid. Originally, the functions f u , v and g u , v represent biochemical aspects of the system, describing how the substances u , v are converted into each other over time. Whilst the so-called diffusive coupling between cells (denoted by the laplacian terms u and v ) describes how the substances are spread out in space. The two-variable FitzHugh–Nagumo (FHN) model [18,19] has remained as one of the simplest available RD cell models. Its basic formulation is shaped by the following set of coupled equations, where the particular parameters of the model are denoted as α , β , ϵ , and ϕ :
u ˙ = ε u u 3 v + ϕ + D u u v ˙ = u α v + β + D v v
The first step to analyze its dynamics involves plotting the so-called nullclines, defined as the geometric shape for which u ˙ = 0 and v ˙ = 0 in the absence of diffusion (i.e., D u = D v = 0 ). The nullclines provide information about the asymptotic behaviour of each isolated cell, generating a phase space with information about trajectories and fixed points that may be stable or unstable, depending on the model configuration. Upon that, the dynamics of each cell are governed by a combination of the asymptotic behaviour, defined by its nullcline configuration plus the spatial interactions with other cells due to the diffusive coupling. In addition, an interesting feature of these systems is the possibility of codifying external information in the model dynamics. On the one hand, this can be done through the so-called external forcing, which allows the introduction of binary or even gradient-like information in the computational grid permanently. For example, in [14] this method was used for introducing the environmental information coming from sensors in a RD-based robotics exploration algorithm. On the other hand, the external information can be introduced simply as the initial values for the state variables u , v . In such a case the information is volatile, as it will be overwritten by the spatio-temporal evolution of the model. This last option is the one used throughout this work.

3. Laser Spot Centering

3.1. Conventional Algorithm for Laser Spot Centroid Calculations

Conventional spot center-finding algorithms are based on matching basic geometrical shapes such as circles or ellipses. The spot is expected to be quite similar to one of these patterns (only small deviations are considered) and the spot shape is fitted as best as possible to the reference shape. For the fitting part of the method, Least-squares, Hough transforms [20], Fourier transforms, Zernike moments [21], Gaussian functions [16], etc., are commonly used. Many of these methods are also based on interpolation schemes for achieving sub-pixel accuracy. However, all of these algorithms implicitly assume that the laser spot shape is close to a circle. Further refinements of center-location algorithms consider embedding of the spot in noisy environments, fast-acquisition techniques, and multi-spot scenarios. However, to the best of our knowledge, there is no algorithm for processing spots which considerably deviate from circular/ellipsoidal shapes.
In this paper we use a conventional image moment method (IMM) for benchmarking the proposed RD-based algorithm. Although the above mentioned methods [16,20,21] may provide better accuracy for a centroid location, the advantages of IMM are its simplicity and performance. This method can be easy implemented for almost all platforms, including field-programmable gate arrays (FPGA). Moreover, in order to produce a high-performance algorithm, it is feasible to use an iterative process to locate the centroid of the laser spot. Using heuristic optimization techniques (e.g., Hill Climbing [22]), one can recalculate the centroid location after each step of the optimized algorithm. In this case there is no need for such a high accuracy.
The implementation of the image moment method is described below.
  • An image acquired from a CCD camera is transformed into a single channel 8-bit gray image
  • A simple thresholding is applied to produce a binary image. Each pixel with a value greater than I t h is set to 2 7 1
  • Using the binary data we can find the outer contour of the spot. The topology information, such as nested contours, is skipped for the sake of simplicity
  • Now we can calculate the center of mass of the area surrounded by this contour using the definition of the centroid:
    x ¯ = i ; j x i I i j i , j I i ; j y ¯ = i ; j y j I i j i , j I i ; j
    where I i , j is an image matrix
Figure 1 illustrates different stages of the above algorithm.

3.2. RD-FHN Laser Spot Centering

3.2.1. Exemplification of the FHN-Based Computation

The technique for calculating the coordinates of the laser spot by means of the FHN model uses the switch-of-phase mechanism introduced in [14,15] that analyses the nullclines in a bistable asymmetric configuration (see Figure 2). For a bistable nullcline configuration, it is possible to locally modify the relative stability of both stable points in order make one of them more stable than the other. In a broad description, the relative stability can be related to the area under the curve as shown in Figure 2a,b. The notation ( S S { + , } ) { a , b } denotes the most and least stable points respectively, for both configurations, a and b. Based on this, the following description aims to showcase the mechanism by which the RD model is used for computation:
  • First, a two-dimensional integration grid, where each cell has a bistable nullcline configuration similar to the one depicted in Figure 2a is prepared. As initial conditions, the concentration values of u , v for all the grid points are set in the less stable state S S . As a result of this configuration, the system remains static in those levels of concentration for all cells in the integration grid.
  • Then, a geometric figure is introduced in the model using u , v . This means that for a few cell points corresponding to the shape of the desired pattern, the values of u , v are set in S S + . Consequently, a frontwave will be triggered, as can be seen in the series of Figure 3a–c, where the model is evolving from S S towards S S + . The diffusive term in Equation (2) explains this movement. Although the asymptotic behaviour is defined by the nullcline configuration, when a cell point changes its concentration levels it transfers this change to its neighbor’s by means of the diffusive link between them. Hence, the global result is a wavefront that moves the whole system towards S S + .
  • Depending of the particular algorithm used, the END condition for the current phase will be different. For instance, it can be stopped after a specific number of iterations, or wait until the model stops its evolution after reaching a static situation. Thus, in the previous step the spatio-temporal evolution was arbitrarily stopped after 1000 iterations.
  • Finally, switching the nullcline configuration to the one depicted in Figure 2b produces a shift in the relative stability of the stable states. What in the previous step was S S + now becomes S S , and vice versa. This is possible due to the fact that the stable points in both configurations ( S S ) { a , b } are very close to each other, as depicted in Figure 2c, where both configurations were superimposed. Therefore, after a short period of adaptation, ( S S ) a becomes ( S S + ) b , and ( S S + ) a becomes ( S S ) b . As can be expected, the system starts evolving all its grid points towards the concentration values of u , v , corresponding to the new S S + . In short, the original wavefront changes its direction of propagation. This process can be seen in the series of Figure 3c–e, where the model evolution was again stopped after 1000 iterations.
Needless to say, reversing the direction of propagation of the wavefronts will not have any other result than modifying the size of the original pattern that was introduced as initial conditions, as it has been shown in the whole series of pictures depicted in Figure 3. Therefore, in the current approach, endowing the system with computing capabilities means to encapsulate geometric operations in the wavefront propagation. In other words, it is necessary to find configurations for the FHN-model whose wavefront interactions can be related with specific geometric operations, instead of simply producing a change in the direction of propagation of the wavefronts. This fact turns out to be the cornerstone of the RD-based computation, at least in the approach that is exemplified above.
Herein, four different phases in correlation with four different model configurations are used. Based on the above description of the algorithm, each of these phases can be considered as a filter that performs a geometric operation over the original image. The succession of phases transforms a raw image coming from the camera into a small spot corresponding to the expected location of the laser spot center. Additionally, the spot size is increased in the last phase of the algorithm, to reach a desired size for the section of the laser beam.

3.2.2. Thresholding Camera Data

The raw data coming from sensors has to be adapted somehow before being used in any algorithm. In the present case, the cameras provide a gray scale pictures with 8 bits. Besides, for the location of the laser center spot, only the information that represents laser light is relevant, because only such information (with respect to the current approach) will trigger the wavefronts used in the RD computation. Therefore, all information that does not represent laser light has to be filtered based on the particular value of a grayscale threshold.
The histograms for the 19 images that will be used in Section 4 are shown in Figure 4.
It can be seen that the majority of the information corresponding to the background is below 30 in the abscissa. This is approximately the starting point from which the plateau of the histogram starts for all the images. Values above this threshold represent laser light. The histogram also acts as a calibration method for both cameras and the RD algorithm.

3.2.3. Algorithm Description

As described in Section 2, the FHN model accepts external information by simply using the initial concentration values of the state variables u , v . This will introduce a “pattern” in the system, as discussed in Section 3.2.1. Then, the system will evolve and clearly will overwrite such a pattern by the new u , v values. The evolution will be different in regards to the particular model configuration. In the present case, the “pattern” to be introduced corresponds the profile of the laser beam that will be transferred at the first stage of the algorithm using the u variable. For that purpose, the matrix containing the camera data has to be mapped from the original 30 200 . After that, by means of the previously described switch-of-phase mechanism, the algorithm will perform smooth transitions from one phase to the next. Also, when a specific phase of the algorithm relies on a nullcline configuration similar to the one depicted in Figure 2a, it will be called expansion-phase, whilst the nullclines depicted in Figure 2b will correspond to a contraction-phase. This terminology was first introduced in [23], and it has been maintained in subsequent publications for the sake of clarity. The different stages of the FHN-based laser spot centering algorithm are described below:
  • Firstly, a contraction phase where the result of the model evolution will be removal of the background noise. Besides, the edges of the beam section become smoother. An exemplification of this process is depicted in the series of pictures in Figure 5a–d. This phase runs for only 1500 iterations, a value that was determined experimentally.
  • The second phase, an expansion in this case, removes all the remaining patches of wavefronts that appear as isolated regions and also further smooths the contour of the laser beam. This process can be seen in the series of pictures depicted in Figure 5e–h. In this case, 5000 iterations is the appropriate value.
  • The third phase is again a contraction, where the wavefront representing the laser beam contour retracts over itself, decreasing its size until the supposed laser spot center. The result of this phase is a small spot that coincides with the centering of the laser beam. The process is shown in the series of pictures depicted in Figure 5i–o. The end condition of this phase is determined by the system reaching a static situation in the model evolution. The main reason underlying this behaviour is the constant speed of the wavefront propagation; therefore, the velocity of contraction is the same in all directions.
  • A final expansion phase results in the growth of the small spot that was achieved in the previous step until it reaches the size of the supposed original laser beam contour. Although this phase is non-essential for obtaining the coordinates of the laser spot, it shows how the FHN-based computational approach is able to process geometric information. The process is represented in the last series of pictures shown in Figure 5p–t. In this last case, the number of iterations varies according to the desired size of the beam section, from which it is also trivial to extract the beam contour.
It must be noticed that all images in Figure 5 have been cut out around the area of interest to include a larger number of them in the figure. Also the chosen representation aims to give a 3D glimpse of what is actually a 2D grid, which makes it easier to see the RD evolution, but also slightly deforms the final perspective.
The set of FHN model values for each phase is represented in Table 1.

4. Results and Discussion

In our experience, selection of the right metrics is a cumbersome task when trying to compare the outcome of a RD-based algorithm with the results of a standard one. However, in this work, the offset vector between centroids calculated by IMM and FHN-based method has been chosen. Since the same images were used as an input for both calculations, such vector being normalized to the number of pixels in each direction provides a meaningful metrics. The results are summarized in Table 2 which shows a good agreement between the standard image moment method and its FHN-based counterpart. Figure 6 depicts the results in terms of distances between centroids calculated by both methods.
It is remarkable that many of the traditional center-location algorithms tacitly assume that the laser spot outer contour can be approximated to a circle or an ellipse. In some cases, the beam is intentionally defocused in order to fit a Gaussian profile (whose contour maps are also circles—See for instance [16]), which may introduce large errors in the center position of non-symmetrical spots. On another hand, while using ellipses to approximate the shape of the spot contour may improve the calculation, one would expect the algorithm to produce non-neglectable errors for non-symmetrical spots as well.
Regarding the RD-based method, it is noteworthy that no fine tuning at all was necessary in any phase of the algorithm, in any case. As long as the threshold value obtained from a collection of samples is well defined, the algorithm works seamlessly for finding the center in all cases. Indeed, three samples were removed from the collection used in the comparison, as the IMM method was not able to properly handle those samples. However, this fact is not really relevant, because the IMM algorithm can be improved as much as necessary in regards to the particular optical set up (beam path, optical elements, etc.) that produces the misalignments, or can also be combined with other algorithms to increase its accuracy. It is, however, worth mentioning the robustness of the FHN-based solution. This quality makes the algorithm especially interesting for being integrated in other systems, for instance in an automatic alignment setup, where the robustness of the method (understood as the fact that a solution will be always provided) is preferable over accuracy.

5. Conclusions and Future Work

The proposed algorithm can accurately find the center of a spot, regardless of its shape or whether the spot image is highly noisy. As shown in the previous section, the algorithm behaves very well when the images are noisy, and when the spot presents strong arbitrary aberrations. In this context, the RD-based method may be useful during the calibration of beams in research facilities, or in data post-processing, wherein robustness of the method is preferred.
From a broader perspective, the RD-based computation has been in the spotlight of many works regarding non-linear science for a long time, due to the numerous and interesting properties exhibited by the spatio-temporal evolution of the models. The main problem faced by RD computation was the lack of stable states as the outcome of the computation. This stems from the fact that using excitable nullcline configurations has been the norm so far for implementing RD-based computation. However, such configurations only generate transient states that have to be checked iteratively, a fact that undermines the usefulness of the algorithm. The herein-presented approach based on the switch-of-phase mechanism in a bistable asymmetric nullcline configuration overcomes that problem, generating final stable states as the output of the computation.
Furthermore, the presented results are an extension of our previous studies, where different behaviors have been successively included in a RD-based computational core. The addition of the laser spot detection algorithm adds new capabilities to that novel approach, and represents another step in the direction of consolidating a computational framework completely based in RD computation. For that reason, it will be interesting to continue pursuing applications for the developed framework, to extend the range of applicability, and also with the aim of demonstrating the feasibility of using RD models to develop general purpose computation. This will also make interesting a port to specialized hardware.

Acknowledgments

This work has been funded by the National Plan Projects DPI2011-27818-C02-02, DPI2012-31303, and DPI2014-55932-C2-2-R, under the supervision of the Spanish Ministry of Science and Innovation and the FEDER funds. Supported by the project ELI: Extreme Light Infrastructure Beamlines (CZ.02.1.01/0.0/0.0/15_008/0000162) from European Regional Development Fund.

Author Contributions

Alejandro Vázquez-Otero, Danila Khikhlukha and J.M. Solano-Altamirano conceived and designed the experiments, performed the experiments and analyzed the data. Alejandro Vázquez-Otero, Danila Khikhlukha and J.M. Solano-Altamirano wrote the paper. Natividad Duro and Raquel Dormido contributed analyzing the data and writing the paper.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Turing, A.M. The Chemical Basis of Morphogenesis. Philos. Trans. R. Soc. Lond. Ser. B Biol. Sci. 1952, 237, 37–72. [Google Scholar] [CrossRef]
  2. Vanag, V.K.; Epstein, I.R. Pattern formation mechanisms in reaction-diffusion systems. Int. J. Dev. Biol. 2009, 53, 673–683. [Google Scholar] [CrossRef] [PubMed]
  3. Epstein, I.R.; Berenstein, I.B.; Dolnik, M.; Vanag, V.K.; Yang, L.; Zhabotinsky, A.M. Coupled and forced patterns in reaction-diffusion systems. Philos. Trans. R. Soc. A: Math. Phys. Eng. Sci. 2008, 366, 397–408. [Google Scholar] [CrossRef] [PubMed]
  4. Krinsky, V.I.; Biktashev, V.N.; Efimov, I.R. Autowave principles for parallel image processing. Phys. D 1991, 49, 247–253. [Google Scholar] [CrossRef]
  5. Kuhnert, L.; Aglazde, K.I.; Krinsky, V.I. Image-Processing Using Light-Sensitive Chemical Waves. Nature 1989, 337, 244–247. [Google Scholar] [CrossRef]
  6. Steinbock, O.; Kettunen, P.; Showalter, K. Engineering of dynamical systems for pattern recognition and information processing. J. Phys. Chem. 1996, 100, 18970–18975. [Google Scholar] [CrossRef]
  7. Perez-Munuzuri, V.; Perez-Villar, V.; Chua, L. Autowaves for image processing on a two-dimensional CNN array of excitable nonlinear circuits: Flat and wrinkled labyrinths. IEEE Trans. Circuits Syst. I Fundam. Theory Appl. 1993, 40, 174–181. [Google Scholar] [CrossRef]
  8. Steinbock, O.; Showalter, K.; Kettunen, P. Navigating complex labyrinths: Optimal paths from chemical waves. Science 1994, 100, 868–871. [Google Scholar] [CrossRef] [PubMed]
  9. Adamatzky, A.; Holland, O. Voronoi-like Nondeterministic Partition of a Lattice by Collectives of Finite Automata. Math. Comput. Model. 1998, 28, 73–93. [Google Scholar] [CrossRef]
  10. De Lacy Costello, B.; Ratcliffe, N.; Adamatzky, A.; Zanin, A.L.; Liehr, A.W.; Purwins, H.G. The Formation of Voronoi Diagrams in Chemical and Physical Systems: Experimental findings and theoretical models. Int. J. Bifurc. Chaos 2004, 14, 2187–2210. [Google Scholar] [CrossRef]
  11. Muñuzuri, A.P.; Vázquez-Otero, A. The CNN solution to the shortest-path-finder problem. In Proceedings of the 11th International Workshop On Cellular Neural Networks and Their Applications, Santiago de Compostela, Spain, 14–16 July 2008; pp. 248–251.
  12. Adamatzky, A.; De Lacy Costello, B.; Asai, T. Reaction-Diffusion Computers; Elsevier Science: Philadelphia, PA, USA, 2005. [Google Scholar]
  13. Vázquez-Otero, A.; Faigl, J.; Munuzuri, A.P. Path planning based on reaction-diffusion process. In Proceedings of the 2012 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), Vilamoura-Algarve, Portugal, 7–11 October 2012; pp. 896–901.
  14. Vázquez-Otero, A.; Faigl, J.; Duro, N.; Dormido, R. Reaction-Diffusion based Computational Model for Autonomous Mobile Robot Exploration of Unknown Environments. Int. J. Unconv. Comput. 2014, 4, 295–316. [Google Scholar]
  15. Vázquez-Otero, A.; Faigl, J.; Dormido, R.; Duro, N. Reaction Diffusion Voronoi Diagrams: From Sensors Data to Computing. Sensors 2015, 15, 12736–12764. [Google Scholar] [CrossRef] [PubMed]
  16. Dong, H.; Wang, L. Non-Iterative Spot Center Location Algorithm Based on Gaussian for Fish-Eye Imaging Laser Warning System. Optik 2012, 123, 2148–2153. [Google Scholar] [CrossRef]
  17. Mourou, G.A.; Korn, G.; Sandner, W.; Collier, J.L. ELI White Book; Andreas Thoss: Meudon Cedex, France, 2011. [Google Scholar]
  18. Fitzhugh, R. Impulses and Physiological States in Theoretical Models of Nerve Membrane. Biophys. J. 1961, 1, 445–466. [Google Scholar] [CrossRef]
  19. Nagumo, J.; Arimoto, S.; Yoshizawa, S. An Active Pulse Transmission Line Simulating Nerve Axon. Proc. IRE 1962, 50, 2061–2070. [Google Scholar] [CrossRef]
  20. Ruifang, Y.; Chun, L.; Zhenheng, L.; Xizhao, L.; Xiaolan, C.; Yuanquing, H. New Algorithm of Sub-pixel Locating Laser Spot Center. In Proceedings of the 4th International Symposium on Advanced Optical Manufacturing and Testing Technologies: Advanced Optical Manufacturing Technologies, Chengdu, China, 20 May 2009.
  21. Cui, J.W.; Tan, J.B.; Ao, L.; Kang, W.J. Optimized Algorithm of Laser Spot Center Location in Strong Noise. J. Phys. Conf. Ser. 2005, 13, 312–315. [Google Scholar] [CrossRef]
  22. Russell, S.J.; Norvig, P. Artificial Intelligence: A Modern Approach; Prentice-Hall, Inc.: Upper Saddle River, NJ, USA, 1995. [Google Scholar]
  23. Vázquez-Otero, A.; Muñuzuri, A.P. Navigation algorithm for autonomous devices based on biological waves. In Proceedings of the 2010 12th International Workshop on the Cellular Nanoscale Networks and Their Applications (CNNA), Berkeley, CA, USA, 3–5 February 2010; pp. 1–5.
Figure 1. Steps of the image moment method applied to the original image sample19: (a) 8-bit single channel gray scale image; (b) binary image, obtained using the threshold value I t h = 2 7 ; (c) contour detection using the binary data; (d) centroid calculation.
Figure 1. Steps of the image moment method applied to the original image sample19: (a) 8-bit single channel gray scale image; (b) binary image, obtained using the threshold value I t h = 2 7 ; (c) contour detection using the binary data; (d) centroid calculation.
Sensors 16 00315 g001
Figure 2. Nullcline representations for a bistable system. (a) bistable asymmetric configuration in which the second stable point is the most stable—therefore, in a system endowed with such a configuration, the wavefronts will always travel towards ( S S + ) a ; (b) on the contrary, in this case, the first stable point is the most stable; (c) both asymmetric configurations are now superimposed, thus exposing the proximity of their stable points.
Figure 2. Nullcline representations for a bistable system. (a) bistable asymmetric configuration in which the second stable point is the most stable—therefore, in a system endowed with such a configuration, the wavefronts will always travel towards ( S S + ) a ; (b) on the contrary, in this case, the first stable point is the most stable; (c) both asymmetric configurations are now superimposed, thus exposing the proximity of their stable points.
Sensors 16 00315 g002
Figure 3. Model spatio-temporal evolution in a two-dimensional grid. (a) original pattern introduced as the initial condition by means of u; (b,c) the model is left to freely evolve for a limited number of iterations; (d,e) a switch of the nullclines configuration reverses the wavefront’s direction of propagation, and the original pattern contracts over itself.
Figure 3. Model spatio-temporal evolution in a two-dimensional grid. (a) original pattern introduced as the initial condition by means of u; (b,c) the model is left to freely evolve for a limited number of iterations; (d,e) a switch of the nullclines configuration reverses the wavefront’s direction of propagation, and the original pattern contracts over itself.
Sensors 16 00315 g003
Figure 4. Overlaid histograms corresponding to the 22 samples. Notice that the Y-axis representing the number of pixels is in logarithmic scale.
Figure 4. Overlaid histograms corresponding to the 22 samples. Notice that the Y-axis representing the number of pixels is in logarithmic scale.
Sensors 16 00315 g004
Figure 5. Steps of the RD-based laser spot algorithm applied to the image sample19: (ad) first stage of the algorithm, where a contraction phase smoothes all of the noisy contour; (eh) second stage, where an expansion phase removes undesirable isolated spots that are interpreted as noise; (io) third stage where an cotraction phase reduces its size until the supposed laser spot center; (pt) final and extra stage that reconstructs the expected circular beam.
Figure 5. Steps of the RD-based laser spot algorithm applied to the image sample19: (ad) first stage of the algorithm, where a contraction phase smoothes all of the noisy contour; (eh) second stage, where an expansion phase removes undesirable isolated spots that are interpreted as noise; (io) third stage where an cotraction phase reduces its size until the supposed laser spot center; (pt) final and extra stage that reconstructs the expected circular beam.
Sensors 16 00315 g005
Figure 6. Illustration of the results depicted in Table 2. The height of each bar corresponds to the distance between centroids calculated by both methods.
Figure 6. Illustration of the results depicted in Table 2. The height of each bar corresponds to the distance between centroids calculated by both methods.
Sensors 16 00315 g006
Table 1. Set of values for the FitzHugh–Nagumo (FHN) model, in order to reproduce the specific behaviors in each of the four stages of the Reaction Diffusion (RD)-based algorithm.
Table 1. Set of values for the FitzHugh–Nagumo (FHN) model, in order to reproduce the specific behaviors in each of the four stages of the Reaction Diffusion (RD)-based algorithm.
FHN Parameters
α β ϵ D u D v
Phasecontraction50.1100.11.5
expansion4−0.5400.452
contraction50.1100.11.5
expansion5−0.2100.11.5
Table 2. The comparison between the image moment method (IMM) and the RD method. Coordinates are in pixels. The offset value is normalized to the number of pixels in each direction.
Table 2. The comparison between the image moment method (IMM) and the RD method. Coordinates are in pixels. The offset value is normalized to the number of pixels in each direction.
Centroid Coordinates
IMM xIMM yRD xRD yOffset x ( 10 3 )Offset y ( 10 3 )
Image1342.330584.317342.452584.337−0.095−0.021
2353.200590.375353.304590.349−0.0810.027
3342.330584.317342.452584.337−0.095−0.021
4366.411585.350366.306585.5240.082−0.181
5373.349594.326373.339594.6610.008−0.349
6568.699552.488562.710562.4934.679−10.422
7649.642536.352648.890547.5490.588−11.664
8646.670599.226644.034615.8062.059−17.271
9131.899460.435132.180460.296−0.2200.145
10662.283453.218661.256458.5740.802−5.579
11662.263453.169661.517458.7140.583−5.776
12662.642453.075661.465458.4930.920−5.644
13213.383477.399216.049480.340−2.083−3.064
14655.300510.910653.975520.1261.035−9.600
15187.473472.137188.648473.333−0.918−1.246
16655.563511.081654.045520.9991.186−10.331
17625.730463.174624.991469.9630.577−7.072
18578.307531.479586.126523.829−6.1097.969
19574.611380.773577.164380.872-1.995-0.103

Share and Cite

MDPI and ACS Style

Vázquez-Otero, A.; Khikhlukha, D.; Solano-Altamirano, J.M.; Dormido, R.; Duro, N. Laser Spot Detection Based on Reaction Diffusion. Sensors 2016, 16, 315. https://0-doi-org.brum.beds.ac.uk/10.3390/s16030315

AMA Style

Vázquez-Otero A, Khikhlukha D, Solano-Altamirano JM, Dormido R, Duro N. Laser Spot Detection Based on Reaction Diffusion. Sensors. 2016; 16(3):315. https://0-doi-org.brum.beds.ac.uk/10.3390/s16030315

Chicago/Turabian Style

Vázquez-Otero, Alejandro, Danila Khikhlukha, J. M. Solano-Altamirano, Raquel Dormido, and Natividad Duro. 2016. "Laser Spot Detection Based on Reaction Diffusion" Sensors 16, no. 3: 315. https://0-doi-org.brum.beds.ac.uk/10.3390/s16030315

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