2.1. Image Data Acquisition and Preprocessing
A set of 50 beam profile images was acquired continuously under identical experimental conditions to ensure consistency and reliability in the analysis. The laser source used for this study was a fiber laser operating at a central wavelength of
775 nm at a repetition rate of 71MHz with a pulse duration of approximately
125 fs [
14]. This ultrashort pulsed laser delivered a
peak power of 13 kW and 1.2 nJ pulse energy. A
neutral density (ND) filter is placed in the optical path to attenuate the beam intensity before it reaches the camera sensor. The beam is directed onto a
CCD camera, which is used for high-resolution image acquisition. The CCD sensor (Model CS165MU, Thorlabs, Inc.) provided precise spatial information about the beam, capturing intensity variations and subtle distortions. The CCD camera was connected to a computer-controlled imaging system, which captured and stored one image approximately every minute, resulting in 50 images acquired in one hour. This slow acquisition rate was intentionally chosen to allow enough time between captures for gradual thermal effects and alignment drifts to become detectable in the dataset. However, we could not acquire more than 50 images due to limitations in the laser system. Prolonged operation beyond this point led to excessive heating within the laser cavity and associated optical components, which began to degrade the beam quality. Specifically, we observed that the beam profile became increasingly distorted, with reduced spatial coherence and efficiency, making further measurements unreliable, so that the image acquisition was limited to the first hour’s stable operational window to ensure the analyzed data’s validity and consistency where the beam remained well-aligned and representative of standard system performance. The image acquisition setup is shown in
Figure 1, and the optical setup was carefully aligned to minimize aberrations caused by external factors such as vibrations, air turbulence, and optical misalignments.
Each captured image underwent a structured preprocessing workflow to optimize the dataset for accurate and consistent analysis. The original beam profiles, as recorded by the CCD camera, are shown in
Figure 2(a). The images are first converted to grayscale to isolate the spatial intensity distribution and eliminate any potential color-channel interference, as illustrated in
Figure 2(b). This step ensured that only intensity values were retained for further processing. Following this, intensity normalization is applied across the dataset to correct any slight variations in exposure or laser output power, enabling a fair comparison of beam characteristics across all frames. Each grayscale image is then converted into a matrix format to prepare the beam images for numerical analysis, where each matrix element represents the intensity value of a corresponding pixel. This matrix-based representation allowed for direct computation of key parameters such as beam centroid, FWHM, ellipticity, and asymmetry using mathematical operations on pixel data. In addition, all images are resized to a standardized resolution to ensure dimensional consistency across the dataset, which is essential for applying statistical algorithms and regression-based modeling techniques. These preprocessing steps ensured that the image dataset was uniform, comparable, and analytically robust, enabling reliable extraction of beam properties and trend analysis across the full sequence.
2.2. Statistical and Numerical Calculations and Analysis
The numerical calculations are obtained from the preprocessed images, with the dataset consisting of matrix-form values extracted directly from the image data.
Figure 3 presents a block diagram summarizing the core components of the laser beam analysis methodology. The process begins with Calculations and Analysis, which is the overarching approach. This then branches into two major analytical paths: Beam Ellipticity and Beam Width. Each of these is further examined through detailed sub-analyses; Beam Asymmetry stems from ellipticity, while Intensity Cross-Section Analysis builds on beam width evaluation. This structured layout illustrates the sequential and interconnected nature of the statistical and numerical methods used in the study.
2.2.1. Beam Centroid Calculation and Analysis
The centroid of the laser beam is a crucial parameter that provides insight into the beam’s stability and spatial displacement over time. In an ideal scenario, a perfectly aligned laser beam should have a stable centroid position with minimal variations. However, external perturbations, such as thermal drift, optical misalignment, and mechanical vibrations, can cause deviations in the beam’s centroid, affecting precision applications. The centroid (X
c, Y
c) of a beam profile is computed using the weighted intensity distribution [
15] across the image using the Equations (1, 2).
Ii is the intensity at pixel (xi,yi), and xi and yi are the respective pixel coordinates. These equations ensure that the centroid calculation considers the intensity distribution rather than just the geometric center of the image, making it a more accurate representation of the beam’s actual position.
Figure 4 shows the behavior of the centroid across the full 50-image sequence. In
Figure 4(a), the black curve represents the X-centroid position over time, while the red curve corresponds to the Y-centroid. It is observed that the X-centroid remains relatively stable within the range of 660 to 670 pixels throughout the sequence. However, after frame 30, a minor downward trend is noticeable, with the centroid gradually shifting from approximately 668 pixels to 664 pixels. This subtle yet consistent movement suggests a slow horizontal drift that could result from the thermal expansion of optical mounts or minor beam steering instabilities. The Y-centroid shows a more prominent and progressive increase, rising from approximately 450 pixels at the start to around 500 pixels by the end of the dataset. This vertical drift is especially evident in the latter half of the acquisition period and is likely caused by systematic changes in the beam path, potentially due to temperature-induced lens deformation, beam pointing drift, or optical table settling.
Figure 4(b) provides additional insight by plotting the X-centroid against the Y-centroid for all images. One cluster, located at higher X-centroid values (~668 pixels), corresponds to lower Y-centroid values (~465–480 pixels). The second cluster, at slightly lower X-centroid positions (~660–665 pixels), corresponds to higher Y-centroid values (~490–500 pixels). This inverse relationship indicates a diagonal shift in the beam position, possibly caused by slight angular misalignment of upstream optics or thermally induced wedge effects in transmissive components. These trends highlight key insights into beam stability. The X-centroid’s downward trend and the Y-centroid’s upward trend indicate a steady shift. Monitoring centroid variations over time allows for early detection of misalignments and facilitates corrective measures such as realignment of optics or compensating for systematic drifts. Even small centroid shifts of 10–20 pixels can affect optical efficiency and beam quality in precision laser applications, including beam shaping, imaging, and amplification. The combined interpretation of
Figure 4 confirms that while horizontal beam positioning is relatively stable, vertical drift increases over time, emphasizing the necessity for regular beam monitoring and adjustment strategies to maintain optimal beam alignment and high-precision performance.
2.2.2. Beam width Estimation Using Full Width at Half Maximum (FWHM)
The laser beam width is a fundamental parameter in laser characterization, providing insights into beam divergence, focusing quality, and stability [
16]. The FWHM is a widely used metric to quantify beam width, particularly for Gaussian beams. This study adopted the widely used Full Width at Half Maximum (FWHM) method to quantify beam width along the X and Y axes. FWHM is directly related to the beam’s standard deviation (σ). For an ideal Gaussian beam profile, the relationship between FWHM and σ is given by Equation (3).
Where σ is the standard deviation of the intensity profile in the respective axis (X or Y), the
FWHM measurement is crucial for determining beam quality, as deviations in beam width over time or across different axes can indicate optical misalignment, thermal lensing effects, or aberrations in the laser propagation [
17].
Figure 5(a) shows the variation of X- and Y-direction FWHM values across the entire image sequence. The red curve represents FWHM along the X-axis, while the green curve corresponds to the Y-axis. The X-FWHM starts at approximately 415 pixels and gradually increases to around 425 pixels, showing a consistent broadening trend. This behavior indicates horizontal beam divergence or degradation of collimation quality over time, potentially due to thermal lensing effects. Meanwhile, the Y-FWHM fluctuates between 435 and 445 pixels, with an insignificant upward or downward trend. This relative stability suggests that the vertical beam profile remains more robust against temporal distortions. However, minor oscillations in the Y-FWHM indicate localized fluctuations, possibly caused by mechanical vibrations or minor air turbulence within the beam path.
Figure 5(b) plots the pixel-normalized FWHM values to further validate beam dimensions’ stability. The X-FWHM (black curve) maintains a tight band between 28 and 30 pixels, showing smaller variations than the full-frame FWHM values. The Y-FWHM (red curve) fluctuates and remains within the 38 to 40 pixels range. These patterns confirm that the horizontal beam profile is subject to a gradual divergence, whereas the vertical profile remains comparatively steady. This analysis underscores the importance of monitoring beam width over time. Changes in FWHM can significantly affect system performance, especially in tightly focused applications or when beam delivery systems rely on precise spatial confinement. The early detection of beam broadening allows for timely realignment, lens replacement, or thermal compensation to maintain optimal operation.
2.2.3. Beam Ellipticity Estimation Using FWHM Ratio Analysis
Beam ellipticity is a crucial metric in laser diagnostics as it offers a direct measure of the shape uniformity of the beam. While ideal laser beams are expected to exhibit a circular cross-section, especially in fundamental Gaussian modes, real-world beams often exhibit ellipticity due to slight imperfections in the optical setup, asymmetric gain profiles in the laser cavity, or differential divergence introduced by optical components such as cylindrical lenses or astigmatic beam expanders. To
quantify the impact of this asymmetry, we can define an ellipticity ratio (E) as in Equation (4).
The plot in
Figure 6 shows a beam’s ellipticity ratio (E) [
18] over multiple image indices, providing insight into the beam shape stability. The X-axis represents the image index (0 to 50), while the Y-axis represents the ellipticity ratio, ranging from ~ 1.3 to 1.5. The black line with red markers indicates the variation in ellipticity, while the dashed horizontal line at a ratio of 1.0 represents an ideal circular beam where the X and Y dimensions are equal. The data shows that the beam consistently maintains an ellipticity ratio above 1 (E > 1), meaning the beam is elongated in one direction rather than perfectly circular. The values fluctuate slightly around 1.4, indicating small variations in beam asymmetry but no major changes in shape over time. The deviation from unity suggests that the beam’s major axis is 30% to 50% larger than the minor axis, a critical parameter in laser beam characterization. This suggests the beam is vertically stretched, resulting in an elongated profile along the Y-axis. If a laser system requires a circular beam for optimal performance, deviations from unity indicate necessary corrections, such as beam shaping, cylindrical lens compensation, or adaptive optics. The fluctuations in the ellipticity ratio suggest possible influences from thermal effects, mechanical vibrations, or optical misalignment.
2.2.4. Beam Asymmetry Evaluation Using Directional FWHM Ratio Analysis
While ellipticity measures the proportional difference between beam dimensions, beam asymmetry offers a different lens for assessing shape uniformity, particularly the directional imbalance in beam width. Whereas ellipticity is derived from a ratio of two absolute dimensions, asymmetry focuses on the deviation from a reference of perfect symmetry, specifically how balanced the beam is along orthogonal axes. The Symmetry Ratio (AR) of the beam is defined by Equation 5.
WX represents the FWHM along the X-axis, and WY represents the FWHM along the Y-axis. A perfectly symmetric beam with AR = 1 indicates identical beam widths in both directions; deviations from this ideal value suggest stretching in either the X or Y direction.
The plot in
Figure 7 illustrates the Beam Asymmetry Ratio as a function of the Image Index, covering 50 different beam profile images. The red markers connected by a line indicate the measured asymmetry ratio for each image, while a dashed horizontal line at y = 1.0 represents the reference for an ideally symmetric beam. The asymmetry ratio remains consistently below 0.2, with minor fluctuations, suggesting that the beam profiles are relatively symmetric. The values mostly range between 0.1 and 0.2, without significant deviation, indicating that the beam maintains a stable shape throughout all 50 images. However, all the asymmetry ratios are obviously still below 1.0, meaning the beam is consistently stretched along the Y-axis. The fact that the beam asymmetry ratio never reaches the ideal value of 1.0 confirms that the beam does not exhibit extreme asymmetry and remains well-controlled.
Minor beam asymmetries are common in practical delivery systems. Yet, they can still impact applications that demand a uniform spatial profile by introducing aberrations or reducing focus quality. The asymmetry ratio is a useful diagnostic tool to differentiate between shape distortion and size variation; for instance, a beam may retain stable FWHM values while shifting from a circular to an elliptical profile due to uneven stretching, which the asymmetry ratio reveals; however, recognizing and monitoring asymmetry remains valuable for fine-tuning the beam path in applications requiring enhanced symmetry. Beam asymmetry can be corrected using adaptive optics, real-time stabilization, optimized beam shaping, and environmental control to minimize distortions.
2.2.5. Intensity Cross-Sectional Analysis
To complement the centroid, width, ellipticity, and asymmetry measurements, we performed a cross-sectional intensity analysis to visualize and quantify the spatial distribution of beam intensity across the X and Y axes. This analysis provides a direct view of how energy is distributed within the beam and whether the profile conforms to an ideal Gaussian shape, often a desired feature in high-quality laser beams. In this method, we extracted one-dimensional intensity profiles from the two-dimensional grayscale images by integrating pixel values along each axis, yielding an X-axis and Y-axis intensity profiles showing how the intensity varies horizontally and vertically, respectively. This analysis is crucial for detecting beam asymmetry, stability, and alignment issues, ensuring uniform energy distribution in laser applications [
19].
Figure 8 (a) displays the beam’s cross-sectional profile along the X-axis. The x-axis of the plot represents the horizontal pixel position, while the y-axis indicates the summed intensity. A smooth, symmetric, Gaussian-like curve is observed, peaking near pixel 750, corresponding to the centroid position. The gradual and balanced tapering on either side of the peak suggests excellent beam quality in the horizontal direction, with no apparent signs of clipping or aberration. Similarly,
Figure 8(b) shows the beam’s cross-sectional intensity along the Y-axis. The profile again appears Gaussian, with a peak intensity similar to that observed in the X-direction. The vertical line marking the centroid confirms that the beam is well-centered along both axes. No skewness, tailing, or side lobes are observed, confirming the absence of spatial mode distortion or higher-order beam artifacts.
These intensity profiles provide important cross-validation for earlier findings. The smoothness and symmetry of both profiles validate that the observed centroid drift and asymmetry are not caused by beam instabilities but rather by consistent structural differences in beam shape. Cross-sectional analysis is a valuable diagnostic tool because it provides qualitative and quantitative insights. It can reveal subtle features, such as secondary peaks, hot spots, or beam clipping, that may not be fully captured by statistical metrics alone. For instance, in industrial laser processing or laser-based surgery, non-uniform intensity distributions can cause damage, underprocessing, or uneven material interaction. Thus, routine cross-sectional analysis helps ensure quality control and application consistency.
2.3. Predictive Modelling
Linear Regression
Measuring current beam characteristics and predicting future behavior is essential for maintaining long-term system performance. While traditional techniques can reveal real-time information about beam width, symmetry, or centroid position, they often fail to capture underlying trends that gradually evolve. Subtle fluctuations in beam intensity or shape caused by thermal drift, environmental changes, or optical degradation can go unnoticed in systems that rely solely on frame-by-frame analysis. Predictive modeling can be introduced as a supplementary layer of intelligence to address this limitation, capable of forecasting the beam’s dynamic behavior using statistical trends.
Linear regression is a fundamental, predictive modeling technique that establishes a dependent and independent variable relationship. Regression analysis is commonly used in machine learning, where data is analyzed to find patterns and make predictions [
20]. The primary goal of this regression analysis is to identify the trend in intensity variations with respect to the image index and to determine whether a consistent pattern exists.
Figure 9 illustrates the step-by-step flow of the linear regression predictive modeling process used for laser beam intensity analysis. Starting with the image index (x) and corresponding intensity values (y), the method proceeds by computing the mean values of both variables. These are then used to calculate the slope (m) and intercept (c), forming the foundation of the linear regression model. Finally, the model predicts the output intensity (y
̅) based on the input index, enabling trend identification in laser performance.
Mathematically, the linear regression model follows the Equation 6.
y is the predicted intensity (either vertical or horizontal), x is the image index, m represents the slope of the regression line, and c is the intercept. To determine the best-fit line, we first compute the mean of x (image index) and y (intensity values), given by Equations 7 and 8.
Where n = 50 (number of images). The slope m is calculated in Equation 9, and the intercept is determined in Equation 10.
The plots in
Figure 10 are created by extracting vertical and horizontal intensity values from a sequence of laser beam profile images, with each image assigned an index representing its order in the dataset. Each image’s vertical and horizontal intensity values are measured; these could be average or peak values across the respective axes. In the plots, the x-axis represent the image index, while the y-axis represents the measured intensity. The black dots represent the actual measured intensity values for each image. A linear regression model is applied to the data to identify trends in intensity variation, resulting in a red line that best fits the distribution of black dots using the least squares method. This red line follows the standard linear Equation 6, and the slope is computed based on the relationship between the image indices and the corresponding intensity values. A positive slope, as seen in the vertical intensity plot in
Figure 10 (a), indicates that intensity gradually increases with the image index, while a negative slope in the horizontal intensity plot in
Figure 10 (b) shows a declining trend. These numerically small slopes capture the directional change in intensity across the image set, and the close alignment of red and black dots confirms that the regression model accurately reflects the underlying intensity variation.
From a machine learning perspective, the intensity prediction models in the plots illustrate how linear regression, a basic supervised learning algorithm, can effectively model the relationship between image index and intensity. By minimizing the error between measured and predicted values, the model provides a reliable fit, with residuals indicating areas for potential improvement using more advanced techniques such as polynomial regression for non-linear trends [
21]. This approach highlights the potential of even simple machine learning methods in laser diagnostics, offering a foundation for real-time predictive control and AI-driven optimization of laser systems.