원시데이터 수집 시스템
선정목록으로

An Efficient Low Complex-Functional Link Artificial Neural Network-Based Framework for Uneven Light Image Thresholding

관련 필름·전자재료 · (13) 프리즘 필름

기본 정보

저자
  1. Tapaswini Pattnaik — Department of Electronics and Telecommunication Engineering, Biju Patnaik University of Technology, Rourkela, Odisha, India
  2. Priyadarshi Kanungo — Department of Electronics and Telecommunication Engineering, Driems University, Tangi, Cuttack, Odisha, India
  3. Prabodh Kumar Sahoo — Department of Mechatronics Engineering, Parul Institute of Technology, Parul University, Vadodara, Gujarat, India
  4. T. Kar — School of Electronics Engineering, KIIT Deemed to be University, Bhubaneswar, Odisha, India
  5. Prince Jain — Department of Mechatronics Engineering, Parul Institute of Technology, Parul University, Vadodara, Gujarat, India
  6. Mohamed S. Soliman — Department of Electrical Engineering, College of Engineering, Taif University, Taif, Saudi Arabia
  7. Mohammad Tariqul Islam — Department of Electrical, Electronic and Systems Engineering, Faculty of Engineering and Built Environment, UKM, Bangi, Selangor, Malaysia
DOI
10.1109/access.2024.3447716
저널
IEEE Access
발행년도
2024
발행기관
Institute of Electrical and Electronics Engineers
피인용수
19
라이선스
cc-by-nc-nd
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1109/access.2024.3447716
토픽
Color Science and Applications
OpenAlex ID
W4401797119

평가 내용

관련도
관련
사업분야
필름·전자재료 · (13) 프리즘 필름
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '필름·전자재료 > 프리즘 필름' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

The most popular technique for converting two-class images into binary images is thresholding. However, thresholding methods tend to perform poorly when dealing with images affected by uneven lighting. To address this issue, local thresholding techniques are commonly used. While pixel-based local thresholding methods can achieve high accuracy, they are computationally complex. Window-based local thresholding presents challenges in selecting the initial window and determining the criterion function for dividing the image into smaller versions. In this study, a novel technique is proposed to improve the effectiveness of binarizing images with uneven lighting. The proposed method is based on a low-complexity functional neural network model (LC-FLANN) to estimate an image’s illumination surface. The effectiveness of the proposed technique has been evaluated using five widely used uneven lighting image binarization techniques and various uneven light image variations. The results show that the proposed approach outperforms other alternatives in both qualitative and quantitative metrics. It achieved an average F-Measure score of 0.97, a Jaccard Index (JI) score of 0.95, and a Percentage of Misclassification Error (PME) 1.42%, demonstrating superior overall performance.

본문 84,229자

본문 펼치기
Received 22 July 2024, accepted 19 August 2024, date of publication 22 August 2024, date of current version 2 September 2024. _Digital Object Identifier 10.1109/ACCESS.2024.3447716_ # An Efficient Low Complex-Functional Link Artificial Neural Network-Based Framework for Uneven Light Image Thresholding TAPASWINI PATTNAIK <sup>1,2</sup>, (Member, IEEE), PRIYADARSHI KANUNGO <sup>3</sup>, (Senior Member, IEEE), PRABODH KUMAR SAHOO 4, (Member, IEEE), TEJASWINI KAR 5, (Senior Member, IEEE), PRINCE JAIN 4, MOHAMED S. SOLIMAN 6, (Senior Member, IEEE), AND MOHAMMAD TARIQUL ISLAM 7, (Senior Member, IEEE) 1Department of Electronics and Telecommunication Engineering, Biju Patnaik University of Technology, Rourkela, Odisha 769015, India 2Department of Electronics and Communication Engineering, C. V. Raman Global University, Janla, Bhubaneswar, Odisha 752054, India 3Department of Electronics and Telecommunication Engineering, Driems University, Tangi, Cuttack, Odisha 754022, India 4Department of Mechatronics Engineering, Parul Institute of Technology, Parul University, Vadodara, Gujarat 391760, India 5School of Electronics Engineering, KIIT Deemed to be University, Bhubaneswar, Odisha 751024, India 6Department of Electrical Engineering, College of Engineering, Taif University, Taif 21944, Saudi Arabia 7Department of Electrical, Electronic and Systems Engineering, Faculty of Engineering and Built Environment, UKM, Bangi, Selangor 43600, Malaysia Corresponding authors: Prabodh Kumar Sahoo (sahooprabodhkumar@gmail.com) and Mohammad Tariqul Islam (tariqul@ukm.edu.my) This research was funded by the Universiti Kebangsaan Malaysia Research Grant through the Dana Padanan Kolaborasi (DPK) under the grant number DPK-2022-006. Also, the research was funded by Taif University, Saudi Arabia, Project No. (TU-DSPP-2024-11). ABSTRACT The most popular technique for converting two-class images into binary images is thresholding. However, thresholding methods tend to perform poorly when dealing with images affected by uneven lighting. To address this issue, local thresholding techniques are commonly used. While pixel-based local thresholding methods can achieve high accuracy, they are computationally complex. Window-based local thresholding presents challenges in selecting the initial window and determining the criterion function for dividing the image into smaller versions. In this study, a novel technique is proposed to improve the effectiveness of binarizing images with uneven lighting. The proposed method is based on a lowcomplexity functional neural network model (LC-FLANN) to estimate an image’s illumination surface. The effectiveness of the proposed technique has been evaluated using five widely used uneven lighting image binarization techniques and various uneven light image variations. The results show that the proposed approach outperforms other alternatives in both qualitative and quantitative metrics. It achieved an average F-Measure score of 0.97, a Jaccard Index (JI) score of 0.95, and a Percentage of Misclassification Error (PME) 1.42%, demonstrating superior overall performance. INDEX TERMS Image segmentation, adaptive thresholding, functional link artificial neural network, binarization. LIST OF SYMBOLS AND ABBREVIATIONS FLANN Functional Link Artificial Neural Network. _JI_ Jaccard Index. ABC Artificial Bee Colony. The associate editor coordinating the review of this manuscript and approving it for publication was Mu-Yen Chen . IBAA Image Binarization using Adaptive Averages. GT Ground Truth. SVM Support Vector Machine. TSP Training Sample Points. _Gv_ Vertical Gradient. _Ts_ ( _i, j_ ) Threshold Surface. _LMS_ Least Mean Square. _g_ ( _max_ ) Maximum Intensity of Input Image. _hi_ Probability of Occurrence of Gray Level. _σBi_ <sup>2</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup> Between class variance. _σBi_ <sup>2</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup> Between class variance. _k_ 0 Constant. _TP_ True Positive. LC Low Complex. PME Percentage of Misclassification Error. LIM Lorentz Information Measure. VO Visual Odometry. EM Expectation Maximization. PGA Parallel Genetic Algorithm. IBAW Image Binarization using Adaptive Window. _Pr_ Precision. _Is_ Illumination Surface. _IN_ Normalization Surface. _I_ 0 Observation Matrix. _IB_ ( _x, y_ ) Binarized Image. _σwi_ <sup>2</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup> Within Class Variance. _σwi_ <sup>2</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup> Within Class Variance. _Mh_ Horizontal Mask. _FP_ False Positive. _F_ 1 F-measure. GMM Gaussian Mixture Model. ML Machine Learning. EB Edge-Based. _Topt_ Optimal Threshold. TST Two-Step Thresholding. _Gh_ Horizontal Gradient. _Re_ Recall. _Io_ Original Image. _ε_ Error. _δ_ Learning Rate. _e_ Entropy. _K_ Sample Points. _Mv_ Vertical Mask. _FN_ False Negative. I. INTRODUCTION In any computer vision application, image segmentation plays a crucial role. The success of image segmentation determines how well objects can be detected, recognized, and tracked. Among the various image segmentation techniques, thresholding stands out as a simple and effective method for real-time applications. This technique involves dividing the image into two categories—background and object—making it ideal for two-class image binarization. The thresholding process can be grouped into global and local approaches. Otsu’s method [1] is a popular algorithm for global thresholding in image binarization, aiming to maximize the variance between classes and minimize withinclass variation. Meanwhile, Cai et al. [2] enhanced the Otsu approach by iteratively calculating the threshold using the image’s flat distribution. Additionally, Sha et al. [3] presented a 2D Otsu thresholding approach based on the combined histogram of average and median characteristics to improve the accuracy of global thresholding. However, in the presence of uneven lighting, the bimodality of the gray level distribution vanishes, leading to a drastic decrease in the performance of global thresholding. To address this, Ma and Gheng [4] developed a quick and enhanced 2D Otsu’s method based on the integral image and adaptive genetic algorithm to binarize unequal light and low contrast images. It’s important to note that this method is effective for low-contrast picture binarization but may not work as well for other variations of uneven light image binarization. Consequently, local thresholding approaches have been developed to tackle the issue of uneven lighting. Local thresholding techniques can be categorized into pixel-based and window-based approaches. Xing et al. [5] introduced an image partitioning method based on 2D Otsu for dealing with noisy and unevenly lit images. Niblack [6] determined a threshold for each window using the mean and standard deviation, but this method increases computational complexity with the size of the window and image. Bradley et al. [7] proposed a local binarization technique that reduces computational complexity by using an integral image approach, which is not affected by window size, but it doubles the memory requirement due to integral images. Zhao et al. suggested the Gaussian Mixture Model (GMM), which calculates each pixel’s threshold within its neighbourhood and binary codes each pixel by comparing it to the local thresholding of a window-based area. It was noted that window-based local thresholding has less computational complexity than pixel-based methods. The primary objective of thresholding, regardless of being image partition-based or window-based, is to identify an area with both foreground and background distributions and minimal lighting effects. PAN [9] proposed a local image binarization technique using the ABC algorithm to divide the grayscale image into blood vessels and background by determining a suitable threshold. To detect bimodality in each sub-image, Huang et al. [10] proposed using a criterion function called Lorentz information measure (LIM). The pyramid method is employed to divide the image into smaller sub-images. Next, Otsu’s thresholding technique is applied to the sub-images that meet the LIM requirements. All the thresholded sub-images are then combined to create the final binarized image. The size of the chosen sub-image determines the effectiveness of this method for binarizing images with uneven lighting. To determine the threshold, Bogiazis and Papadopoulos [11] developed a method for local thresholding based on fuzzy inclusions and entropy criteria. The window size required to binarize an image varies depending on the image. Proper bimodal criteria is crucial for selecting the relevant sub-image from any given image. Kanungo et al. [12], [13] have devised a window-based methodology to enhance accuracy through adaptive window selection using window merging and window expansion approaches. The window selection criteria are based on feature entropy and entropy, and a Parallel Genetic Algorithm (PGA) is used to binarize each window. Additionally, the window expansion method has been employed to improve precision. However, computational complexity is a significant issue with both window merging and window expansion based on local thresholding, and the accuracy of the window merger’s determination is important. To address this, Pattnaik et al. proposed employing the bimodal criterion of GMM-based [14] and normalized mean difference-based approach [15] to adaptively select windows for partitioning pictures and reduce complexity. Various adaptive methods have been developed to create a threshold surface for identifying lighting patterns and binarizing each pixel based on this surface. Yanowitz et al. [16] utilized edge information and intensities to establish a threshold surface, but the computational complexity of this approach is significant. To reduce this complexity, Blayvas et al. [17] created a threshold surface using a multiresolution technique. Meanwhile, Yazid and Arof [18] used gradients to develop an inverse threshold surface, which is adjusted for binarizing images with uneven lighting. Cai and Miklavcic [19] proposed precise background surface estimates by considering global and local edge points to address intensity in-homogeneities. Recent studies have compared machine learning techniques for enhancing metamaterial absorbers in terahertz applications and predicting dielectric properties of MoS2 nanofiller-reinforced epoxy composites [20], [21], highlighting their effectiveness in improving material performance. Sahoo et al. [22] enhanced the VGG19 network for precise moving object detection in complex video scenes. Other works have used machine learning to predict metamaterial microwave absorption and develop THz metamaterial absorbers for biomedical applications [23], [24], [25], showing the potential of these methods in material science and biomedical sensing. He and Schomaker [26] proposed a novel method using SVM to binarize unevenlighting images. Furthermore, Dehuri et al. [27] developed a deep learning-based method to enhance non-uniformity in images by training the network. Some of the applications of image segmentation techniques in challenging areas include the following: Cheng et al. [34] developed a Holistic Prototype Activation (HPA) network to address issues with incorrect segmentation borders caused by network architecture or training. The HPA Network acts as a network without training, featuring a Cross-Referenced Decoder (CRD) for multilayer feature aggregation and a Prototype Activation Module (PAM) for creating activation modules for feature mapping. This method is used for video object segmentation, weak-level, and zeroshot tasks. Lang et al. [35] introduced Few-shot Segmentation (FSS), a technique designed to identify objects from annotated samples, even if they belong to unseen classes. However, FSS has limitations in dealing with incomplete objects and ambiguous boundaries. To overcome these challenges, a new framework called Divide-and-Conquer Proxies (DCP) has been developed for video object segmentation. This framework divides the segmentation mask into regions with different properties and uses effective mask average pooling. Lang et al. [36] presented a theoretically simple and easyto-implement methodology to address a number of enduring problems in few-shot segmentation (FSS). The Progressive Parsing Module and the Commonality Distillation Module, two novel components introduced into the PCNet architecture, have greatly improved segmentation performance. Comprehensive tests using industry-standard benchmarks showed that PCNet outperforms earlier FSS techniques both quantitatively and qualitatively. The results demonstrate that in few-shot segmentation, PCNet sets a new state-of-theart. However, the research does not specifically address the performance of PCNet under non-uniform lighting circumstances, which remains a challenging aspect without direct trials and data analysis. The Base and Meta (BAM) architecture for Few-Shot Segmentation (FSS) was developed by Lang et al. [37] to address biases in data or models that are inherent and challenging to mitigate. They introduced an auxiliary branch to serve as a base learner to enhance the traditional FSS framework. The purpose of this auxiliary branch is to identify items belonging to basic classes and does not require segmentation. At the same time, the main FSS framework acts as the meta-learner, focusing on learning to segment new classes. To achieve accurate segmentation predictions, the base learner and meta-learner collaborate to produce coarse segmentation results that are effectively combined. Adjustment factors are used to measure the differences between the support (base class) and query (novel class) image pairings, considering both stylistic and appearance variations, to enhance the robustness of the meta-learner. By considering scene differences and improving segmentation performance, this approach aims to enhance the model’s ensemble predictions. The paper does not specifically address the performance of the BAM framework under non-uniform illumination conditions. Due to its dual-branch approach and flexibility in handling variations, the novel design of the BAM framework suggests that it may be somewhat resilient to nonuniform light conditions. However, its actual performance in such scenarios needs to be demonstrated through focused testing. To ensure reliable operation, additional testing and potential adjustments may be necessary if managing uneven lighting is a critical requirement. The main challenges of local thresholding approaches are: (i) the initial choice of window size, (ii) the partitioning approach, (iii) computational complexity, and (iv) the use of an appropriate bimodal criteria function. Similarly, for machine learning and deep learning, there is a requirement for very large training image sets. Hence, there is an opportunity for enhancements in uneven light thresholding methods. Building upon previous approaches [20], [24], [25], [26], a new technique has been developed to address uneven lighting issues. In aiming to achieve thresholding of uneven light images, this work makes a three-fold contribution: 1. A method is devised to generate valid training sample points (TSP) from input images with uneven lighting. 2. An efficient and less complex Functional Link Artificial Neural Network (LC-FLANN) model is proposed to estimate the illumination surface. 3. Normalization of uneven light through inverse modelling is applied to global thresholding. Therefore, the newly added value to the proposed methods lies in the extraction of more valid sample points for training the FLANN model to estimate illumination surfaces, as well as the normalization of the estimated image for further binarization. II. RELATED WORK _A._ _LIGHT WEIGHT OBJECT DETECTION MODEL BY USING_ _YOLOv8-LITE_ Yang et al. [32] introduced a lightweight object detection model known as YOLOv8-Lite, which is based on the YOLOv8 framework. This model has been improved using the FastDet structure, TFPN pyramid structure, and CBAM attention mechanism. Traditional object detection models often face challenges such as large parameter sizes and high computational resource consumption, limiting their use on edge devices. YOLOv8-Lite is designed for efficient object detection through simplified design and optimized computation. The framework incorporates the FastDet structure with simplified network complexity. The TFPN (Top-Down Feature Pyramid Network) pyramid structure addresses information loss, thus improving object detection accuracy. The TFPN structure combines feature maps from different levels to reduce information loss. The CBAM (Convolution Block Attention Module) is introduced to further enhance the network. This mechanism adaptively adjusts attention within feature maps, enabling the network to more accurately focus on important target areas. This CBAM can be represented as: The channel attention map C is calculated as in Equation (1) the sigmoid activation of the average channelwise feature response. _H_ _i_ =1 _w_ _j_ =1  � (1) _C_ = _σ_  <u>1</u>  _H_ × _W_ _ReLU_ - _Wc.Xi,j_ where _C_ is the channel attention map. _H_ and _W_ are the height and width of the feature map. _xi,j_ is the feature map at the position ( _i, j_ ). _Wc_ represents the weights used for channelwise convolution. _σ_ denotes the sigmoid activation function. The spatial attention map _S_ is computed in Equation (2) capturing the spatial dependencies across the feature map. _C_ _c_ =1 _ReLU (ws.X_ : _,_ : _, c)_ _S_ = _σ_ <u>1</u> _C_ (2) and spatial attention maps with the original feature map _X_, enhancing the model’s ability to focus on relevant regions. _Y_ = _X_ ⊙ ( _C_ + _S_ ) (3) FASTDet structure is designed to improve the accuracy of object detection. Mathematically it can be represented as in Equation (4) _Y_ = _WX_ + _b_ (4) where _Y_ is the feature map, _W_ is the weight matrix, _X_ is the input feature map, _b_ is the bias vector. The FastDet structure is proposed to improve the speed and accuracy of the object detection model. The FastDet structure mathematically expressed as in Equation (5) _y_ = _Wx_ + _b_ (5) where _w_ is the weight matrix, _b_ is the bias vector, and _x_ is the input feature map and _y_ is the output feature map expressed as in Equation (6) _y_ = _Shuffle_ ( _x_ ) (6) the channel shuffling operation denoted as Shuffle(.). Then dividing the feature map into two by splitting operation denoted as Equation (7) _y_ 1 _, y_ 2 = _Split_ ( _x_ ) (7) Then the output feature map after convolution in Equation (8) and polling is expressed as in Equation (9) _y_ = _Conv_ ( _x_ ) (8) _y_ = _Poolling_ ( _x_ ) (9) this FastDet structure improve the efficiency and performance of the model. _B._ _LIGHTWEIGHT TWO-STAGE DETECTION NETWORK_ _FOR REAL TIME OBJECT DETECTION_ In his work, Wang [33] introduced two detection frameworks: RPN (Rapid Region Proposal Network) and Refinement Detection Network (RefinerNet). RPN is responsible for generating high-quality candidate regions, while RefinerNet analyzes these regions in detail to enhance detection accuracy. RPN uses hybrid data to generate high-quality regions, producing a set of bounding boxes, each with a score indicating the likelihood of containing an object. This process can be expressed as... _Regions_ = _Softmax_ ( _DenseConv_ ( _Flatten_ ( _V_ ))) (10) In Equation (10) V refers to voxelized data This network utilizes a series of convolution layers. These layers are process voxelized point cloud data. This voxelization divides continuous point-to-grids with aggregating information in each grid based on mean, maximum values, or a combination of features. After the candidate regions are obtained RefinerNet is Refiner detection network is used for the localization where _S_ is the spatial attention map. _C_ is the no of channels in the feature map. _x_ : _,_ : _,c cth_ channel of the feature map. _ws_ is the weight used for spatial-wise convolution. The output feature map _Y_ is obtained by Equation (3) combining the channel and classification of targets by deep convolutional neural network. This process mostly enhanced object edges in target regions expressed as in Equation (10) _F_ <sup>′</sup> = _ReLU_ ( _N_ ( _Conv_ ( _Regions, F_ ))) (11) _result_ = _PointNet_ ( _Fj_ <sup>′</sup> <sup>_, F_</sup> <sup>′)</sup> (12) In Equation (11) _F_ <sup>′</sup> is the collection of features extracted from the first stage including spatial and depth features to describe the contents of candidate regions. These features help refine the detection and classification of objects within the specified areas with high accuracy. _C._ _BINARIZATION OF IMAGES WITH CHANGING_ _LIGHTING_ In particular, image binarization with adaptive window (IBAW) is required for image binarization with adaptive illumination [28]. and adaptive averages (IBAA). A set of decision criteria derived from the local properties forms the basis of both algorithms. The visual Odometry (VO) approach is used to iteratively generate an effective window size across each pixel until the decision map remains unchanged. The Bradley algorithm [7] is used in IBAA to achieve the binarization of each pixel throughout the window that is generated using the fusion image obtained from the selection criteria. In contrast, the fusion image is not utilized in IBAW to calculate the window size; rather, the Bradley technique [7] is used to approximate the binarized image. Algorithm 1: VO Algorithm for Window size Computation : For every pixel, there is a unique window _W_ ( _m, n_ ) with an area of (2 _W_ ( _m, n_ )+1) <sup>2</sup> . The maximum window size _W_ ( _m, n_ ) in each pixel is determined by maximizing the window’s area to ensure that the edges of the decision map, which provides information about areas that are lighter or darker in the original image, do not exceed the maximum edge number T and the maximum value of window size _wmax_ . The area _A_ ( _W_ ( _m, n_ )) is located by binary search, and the integral image of the border matrix ( _ED_ ) is searched maximize the function. In Equation (13), the border matrix is provided. 1 _If_ _q_ ( _m, n_ )̸ = _q_ ( _m_ - 1 _, n_ ) _or_ _q_ ( _m, n_ )̸ = _q_ ( _m, n_ - 1) 0 _Otherwise_ _ED_ [ _m, n_ ] =    (13) and the inversely illuminated image _IL_ ( _m, n_ ) are combined to generate the fused image _IF_ . The following formula is used to get the inversely illuminated image: _Step_ _1:_ Determine the Image _I_ ’s Luminance _L_ using the morphological kernel _C_, or _L_ = _I_ _.C_ . _Step_ _2:_ entails computing the reflectance ( _R_ ) at the pixel level, which is the ratio of the matching lighting intensity ( _L_ ( _m, n_ )) at that pixel to the image intensity ( _I_ ( _m, n_ )). _Step_ _3:_ Determine the Inverse Luminance by deducting the Luminance value of each pixel from 255, or _LI_ ( _m, n_ ) = 255 − _L_ ( _m, n_ ). _Step 4:_ In order to acquire the image with inverse lighting, Assign the result to _IL_ ( _m, n_ ), that is, _IL_ ( _m, n_ ) = _R_ ( _m, n_ ) × _LI_ ( _m, n_ ), by multiplying the reflectance image _R_ ( _m, n_ ) by the light intensity image _LI_ ( _m, n_ ). _Step 5:_ The difference image _DI_ is computed as follows: _DI_ = _I_ - _IL_ . _Step 6:_ The Integral Image _HDI_ of _DI_ is to be computed. _Step_ _7:_ _S_ ( _HDI_ _, W_ ( _m, n_ ) _, m, n_ ), is the sum of values within a square window in which _W_ ( _m, n_ ) denotes the window size. Maximizing _S_ ( _HDI_ _, W_ ( _m, n_ ) _, m, n_ ) yields the decision criteria _p_ <sup>(</sup> <sup>_it_</sup> <sup>)</sup> . _IF_ ( _m, n_ ) = _I_ ( _m, n_ ) _p_ <sup>(</sup> <sup>_it_</sup> <sup>)</sup> ( _m, n_ ) + _IL_ ( _m, n_ ) _p_ <sup>(</sup> <sup>_it_</sup> <sup>)</sup> ( _m, n_ ) is the fused image that we finally compute. _Step_ _8:_ Using the fused image _IF_ and a window size _W_ via algorithm-1, we use the Bradley method [7] to produce a binarized image. By applying the Bradley method [7], the IBAW methodology compares a quality function to a threshold value to produce a binarized image. An adaptive window is used as the basis for the quality function calculation. Algorithm 3: IBAW for Image Binarization : To convert images into binary format, the Bradley [7] IBAW algorithm is employed. To do this, apply algorithm 1 to compute a window over each pixel _W_ ( _m, n_ ). The Decision map was derived from the difference of the quality function _DF_ ( _m, n_ ) rather than the fused image _IF_ ( _m, n_ ), in contrast to IBAA. The quality function, which is stated as follows, establishes the distance between two modes _m_ 1 and _m_ 2 from which pixels are placed. _Step_ _1:_ The absolute difference between _m_ 1 and _I_ 1( _m, n_ ) defines the function _F_ 1( _m, n_ ). _Step_ _2:_ The absolute difference between _m_ 2 and _I_ 1( _m, n_ ) defines the function _F_ 2( _m, n_ ). _Step_ _3:_ The difference between the quality functions is calculated as _F_ 1[ _m, n_ ] - _F_ 2[ _m, n_ ] = _DF_ [ _m, n_ ] to find _DF_ ( _m, n_ ). _Step 4:_ Determine the integral image _HDF_ that is a part of _DF_ . _Step_ _5:_ A square window’s total values can be found using the formula _S_ ( _HDF_ _, W_ ( _m, n_ ) _, m, n_ ), where _W_ ( _m, n_ ) indicates the window’s size. The decision criterion is obtained by adding the integral image of the difference in quality function _S_ ( _HDF_ _, W_ ( _m, n_ ) _, m, n_ ) over the window _W_ ( _m, n_ ). The binarized image based on this choice criterion is obtained using the Bradley technique [7] and the matching window based on the VO algorithm1. Using _IED_, a binary search is carried out for the integral image _IED_ for each coordinate ( _m, n_ ) to find the ideal window size. Algorithm 2: IBAA for image Binarization : The Molina algorithm [29] was enhanced with an adaptive window for every pixel in the IBAA algorithm. The IBAA method uses the VO algorithm 1 and takes into account the fused image _IF_ to determine the ideal window size, _W_ ( _m, n_ ), for each pixel ( _m, n_ ). The original image _I_ ( _m, n_ ) _D._ _FUZZY INCLUSION AND ENTROPY BASED IMAGE_ _BINARIZATION_ A method to determine the threshold for every pixel in a picture was presented by Bogiatzis et al. [11]. By dividing 255 by all the _x_ × _y_ nearby pixel values, they produced a fuzzy set _M_ . The fuzzy inclusion between the M and the three images: the gray picture ( _G_ ), the black image ( _B_ ), and the white image ( _W_ ). _W_, _B_, and _G_ have sizes of _m_ × _n_ . All of the elements in _W_ are 1, all of the elements in _B_ are 0, and all of the elements in _G_ are 0 _._ 5. It is thought that _W_ is a universal set. Equation (14) defines _S_ ( _A, B_ ) as the fuzzy inclusion function between two sets _A_ and _B_ . Gaussian noise, using the posterior probability of the pixel, which is evaluated with spatial neighborhood information _hjk_ (as in Equation (18)). _wk_ _hjk_ _q_ ( _k_ | _xj,_ _�_ <sup>ˆ</sup> ) = _k_ _wihji_ _i_ =1 <u>1</u> ~~<u>�</u>~~ 2 _πσk_ <sup>2</sup>    �2 <sup></sup>     (18) _hjk_ = _mean_   _median_ _e_ - _x_ ¯ _<u>j</u>_ - _µk_ _<u>σk</u>_ where _x_ ¯ _jϵN_ ( _xj_ ) and _N_ ( _xj_ ) is the set of neighborhood pixels across a window that is 3 × 3 or 5 × 5, with the center pixel _xj_ . Using Equation (19), the pixel’s posterior probability _xj_ corresponding to the _k_ <sup>_th_</sup> class is calculated. 1 _if_ _A_ = _φ_ _<u>wϵW</u>_ _if_ _A_ ̸ = _φ_ _Iz_ ( _mA_ ( _w_ ) _, mB_ ( _w_ )) _mA_ ( _w_ ) (19) _S_ ( _A, B_ ) =    <u>�</u> _wϵW_ _mA_ ( _w_ ) (14) where the membership functions are denoted by _mA_ ( _w_ ) and _mB_ ( _w_ ). Fuzzy inclusion indicators _s_ 1 = _S_ ( _W_ _, M_ ), _s_ 2 = _S_ ( _M_ _, B_ ), _s_ 3 = _S_ ( _G, M_ ) and _s_ 4 = _S_ ( _M_ _, G_ ) provide information. about the brightness, darkness, and the window’s grayness. Any set _M_ has an entropy _e_ that is determined by Equation (15). where _k_ = 1 _or_ 2, and the mixture coefficient with constraints is denoted by _wk_ . With <sup>�</sup> _k_ <sup>2</sup> =1 <sup>_wk_</sup> = 1, 0 _<_ _wk_ _<_ 1 and 3 × 3 and 5 × 5 is a window of size that contains spatial neighborhood information _hik_ . Using Equation (20), the binarized image _C_ ( _m, n_ ) is produced. _C_ ( _m, n_ ) = 0 _if_ ( _q_ ( _k_ = 1 | _xj,_ _�_ <sup>ˆ</sup> ) _> q_ ( _k_ = 2 | _xj,_ _�_ <sup>ˆ</sup> ) 255 _Otherwise_ (20) _e_ = 2 _<u>wϵW</u>_ <u>�</u> _wϵW_ _min_ (1 − _mM_ ( _w_ )) _mM_ ( _w_ ) _max_ (1 − _mM_ ( _w_ )) _mM_ ( _w_ ) (15) _F._ _GRADIENT-BASED THRESHOLDING SURFACE FOR_ _IMAGE BINARIZATION_ Yazid et al. [18] developed a method for binarizing images with non-uniform lighting. Every pixel in the image is subjected to vertical, horizontal, diagonal, and anti-diagonal Prewitt operators as part of the method’s gradient-based thresholding surface approach. The edge or border information of the picture is determined by the largest absolute response for each pixel among these four operators. Strong edge and weak edge pixels are the two categories for these edge or boundary pixels. The non-border pixels are those with weak edges. Equation (21) is used to generate the thresholding surface based on these edge pixels. Based on the values of _s_ 1 and _s_ 2, eight criteria are defined. Using these criteria, the set _M_ can be classified into one of eight groups. Using linear regression analysis, a function _r_, i.e., _r_ = _r_ ( _s_ 1 _, s_ 2), is defined. Equation (16). defines a fuzzy symmetric triangular number in the end. _T_ ˜ = ( _r_ - _k, r, r_ + _k_ ) _, where k_ = �� _s_ 3 − _s_ 4�� (16) _Pm_ ( _i, j_ ) (21) 8 Eq. (17) is used to determine the _T_ 1 and _T_ 2 given the parameters _e_, _k_, and _r_ . _T_ 1 = _k_ ( _e_ - 1) + _r_ _and_ _T_ 2 = _k_ (1 − _e_ ) + _r_ (17) if _s_ 1 ≤ _s_ 2 then the threshold _T_ = _T_ 1, else _T_ = _T_ 2 for the _p_ ( _x, y_ ) pixel. _E._ _GAUSSIAN MIXTURE MODEL BASED BINARIZATION_ Zhao et al. [8] proposed binarization of images with nonuniform light and noise using a Gaussian Mixture Model (GMM). By utilizing the image mean as a threshold to divide pixels into two classes, the method divides the gray level distribution into two groups, modeling it as a two-class GMM. The optimal parameter vector _�_ = [ _w_ 1 _, w_ 2 _, µ_ 1 _, µ_ 2 _, σ_ 1 _, σ_ 2] is then estimated using the EM algorithm. The image is binarized to suppress impulse and In image processing, binarization involves separating an image into two distinct classes of pixels - black and white. The thresholding surface _Ts_ ( _i, j_ ) is used to accomplish this task. Additionally, there are eight primary surfaces _Pm_ ( _i, j_ ), in which _m_ = 1 _to_ 8 created through eight passes in different directions: _LRTB_, _TBLR_, _RLBT_, _BTRL_, _RLTB_, _TBRL_, _LRBT_, and _BTLR_ . Here, _L_, _R_, _T_, and _B_ refer to left, right, top, and bottom, respectively. A constant value _ko_ is added to or removed from the threshold surface _Ts_ ( _i, j_ ) intensities to modify the inverse threshold surface’s position concerning the original image _Io_ ( _i, j_ ) for image binarization. The threshold surface may _Ts_ ( _i, j_ ) = 8 _<u>m</u>_ =1 FIGURE 1. Block schematic of the suggested method for thresholding images with nonuniform lighting. move up or down as a result. Equation (22) is used to find the value of _ko_ .  _ko_ = _arg min_ _k_  _borderpixel_ ( _i,j_ )) ��( _Io_ ( _i, j_ ) − _Ts_ ( _i, j_ )) + _k_ �� ; × _kϵ_  �−255 _.._ 255�  (22) Equation (22) defines the value of _k_, denoted as _ko_, which represents the optimal value of _k_, which is obtained when the adjusted thresholding surface _Ts_ ( _i, j_ ) + _k_ and the pixels of the original input image _Io_ ( _i, j_ ) are added together, the sum of the absolute differences between them is at its minimum. To distinguish between backgrounds and objects, the threshold surface assigns a distinct threshold value to each pixel. Next, we apply Eq. (22) to binarize the original image _Io_ . _g_ ( _i, j_ ) = 0 _if_ _Io_ ( _i, j_ ) _> Ts_ ( _i, j_ ) + _ko_ 1 _if_ _Io_ ( _i, j_ ) _< Ts_ ( _i, j_ ) + _ko_ (23) surface neutralizes nonuniformity and increases the global thresholding’s effectiveness. The proposed approach consists of three steps, which are outlined below (i) the extraction of training sample points(TSP) that are valid; (ii) the Development of a FLANN model for estimation of the illumination surface and (iii) Illumination normalization for global thresholding. Compared to multi-layer neural networks, the Functional Link Artificial Neural Network (FLANN) has a simpler design and requires less computing power. FLANN is suited for real-time applications because of its straightforward architecture, making it simpler to develop and using less processing power. Functional expansions of the input features, such as polynomials, trigonometric functions, or other non-linear transformations, are used by FLANN to increase the representative capability of a single-layer network. This enhances the network’s capacity to tackle challenging issues by enabling FLANN to represent nonlinear relationships in the data without additional layers. For applications that require quick training and adaptation, FLANN’s speedier training process resulting from the lack of several hidden layers is a benefit. The utilization of straightforward algorithms for weight modification and the reduction of parameters contribute to the efficiency of the learning process. Functional expansions allow FLANN to reduce the number of weights needed to achieve improved generalization, which lowers the possibility of overfitting— especially on smaller datasets. The network is better able to identify the underlying patterns in the data thanks to the functional expansion, which functions as a type of regularization. FLANN is a flexible technique that can be used in many domains because III. MATERIALS AND METHODS Due to the overlapping of the gray level distributions of object and background, it is difficult to binarize any uneven light images using global thresholding. Further, the constraint of local thresholding approaches are (i)initial choice of window size, (ii) Computational complexity, (iii) optimal choice of bimodal criteria function, and (iv) Optimal partitioning approaches, for any uneven lighting image binarization. To improve the performance of uneven light image binarization, the FLANN Model-based estimation of illumination it can be used for different kinds of data and challenges. It may readily adjust to various problem specifications by selecting the relevant functional extensions. Because FLANN can detect non-linear trends, it is used to predict stock prices, exchange rates, and other financial time series data. It uses trend analysis on previous data to forecast atmospheric conditions and weather patterns. FLANN is used to extract and categorize relevant features for tasks including object detection, video analysis, and picture recognition. FLANN is a superior model than the other network models due to its lower complexity. Unlike conventional methods, FLANN can accurately estimate the illumination surface by expanding features to a higher-dimensional space, which improves input discrimination. Its single-layer structure results in reduced weight updating time compared to convolutional or deep learning network models. The normalized coordinates of the sample points are used to train the FLANN model. Based on the discrepancy between the sample point’s actual and anticipated gray values, the weights are changed. All of the image’s coordinates’ lighting is calculated after the FLANN has been trained. The nonuniform lighting is neutralized once the illumination is estimated, enabling the use of global thresholding for the separation of objects from backgrounds. Consequently, the FLANN model is preferred for estimating the illumination surface more accurately and efficiently, with less time and complexity than other models. In this work, the non-uniform lighting surface of an image is estimated using the FLANN model. Global thresholding is further used to neutralize the non-uniform illumination to binaries the image. On the other hand, either object points or background points must be extracted to estimate the nonuniform illumination surface. Extracting valid sample points from an image with non-uniform lighting, either from the background or the foreground region, is an extremely difficult process. To extract the legitimate taring sample points, a twostage method i.e. the dual thresholding technique and the edge-based approach is devised in this study. The block diagram for the proposed uneven lighting image thresholding is shown in Fig. 1. To help estimate the illumination surface, the proposed approach in Fig. 1 extracts valid training sample points (TSP) using a multi-step process. These sample points correspond to either the two-class image’s background or object pixels. In the first stage, a twostep thresholding is utilized to produce more valid sample points. The two-stage Otsu’s thresholding method extracts the object sample points more successfully in non-uniform lighting situations. One threshold may not be sufficient to properly partition the image’s object region in scenarios with different textures or illumination. In the second step, the edgebased method is employed to extract the legitimate sample points from the object regions. The object’s boundary edges are extracted using the edge-based technique. The distribution of the original edge point pixels is subjected to a global threshold in order to extract various object sample points from the object boundary. The dual threshold and edge-based approaches’ valid sample points work together to aid in the collection of sample points throughout the object region. _A._ _EXTRACTION OF APPROPRIATE TSP_ To accurately estimate the illumination surface, valid training sample points (TSP) are required. The images used for binarization are two-class images. As a result, it is crucial to choose pixels only either the background area or the object to serve as the TSP. The proposed FLANN model uses the object (foreground) region points as the TSP for training. Considering the quantity of reliable training sample points, a two-step method has been developed. Two-step thresholding is used in the first stage, and an edge-based technique is used in the second stage to extract valid training sample points. 1) TWO-STEP THRESHOLDING (TST) METHODOLOGY During the first step of the TST process, binarization of the uneven light gray image _I_ ( _x, y_ ) is obtained using Otsu’s thresholding. This method is based on the assumption that the image contains a brighter object than the background. The global threshold value, is represented as _T_ 1. Next, every pixel having a gray value higher than _T_ 1 are assembled into a set _S_ . _S_ = { _I_ ( _x, y_ )| _I_ ( _x, y_ ) ≥ _T_ 1} (24) Once all the elements in _S_ have been taken into account, a histogram _hg_ is produced, with a gray level range of _T_ 1 ≤ _g_ ≤ 255. The threshold _T_ 2 is then assessed by applying Otsu’s thresholding criterion to _hg_ . The pixels in the image _I_ ( _x, y_ ) that have a value greater than _T_ 2 are leveled as the first set of TSP, which is _S_ 01. Fig. 2(a) represents the original images with uneven lighting, and Fig. 2(b), is the histogram of Fig. 2(a) with the evaluated thresholds _T_ 1 and _T_ 2. Fig. 2(c) shows the binarized image of Fig. 2(a) with the threshold _T_ 1. However, it is observed that not all white pixels belong to the object only. Most of the background pixels are also detected as object pixels. The binary image with threshold _T_ 2 is shown in Fig. 2(d). Here, all the white pixels belong to only the object class, which means that this thresholding method has successfully identified the object in the image. The valid TSP in the 1st step are considered as set _S_ 01 as follows _S_ 01 = [{ _x, y, I_ ( _x, y_ )} | _I_ ( _x, y_ ) ≥ _T_ 2] (25) To reduce the impact of outliers in the training sample points, a dual threshold is utilized. However, when observing Figure 2(c), it is evident that the white area (TSP) specifically _S_ 01 - is mostly concentrated towards the object’s right side. This can cause the illumination surface to be estimated incorrectly. An edge-based technique in its second stage is designed to tackle this problem. This approach is used to collect extra observation points made just from the object region’s edge, which results in a more accurate estimation of the illumination surface. FIGURE 2. a)Original non-uniform lighting block image b) Histogram of Block image with thresholds _T_ 1 and _T_ 2 (c) Binarize Block image with _T_ 1 (d) Binarize Block image with _T_ 2. 2) EDGE BASED (EB)APPROACH The first step in detecting edges of the gray image _I_ is to extract edge points by applying the gradient-based operator i.e Sobel edge operator. The Sobel operator calculates an image’s intensity function’s gradient approximately to detect edges in an image. Two 3 × 3 masks, _Mh_ and _Mv_, are used in Equation (26) to identify the horizontal and vertical derivative approximations. After convolving these masks with the input image, two gradient images, _Gh_ and _Gv_, are obtained., as shown in Equation (27). where _T_ is considered to be 100 based on the simulation results. _IE_ ( _x, y_ ) = 1 ( _edgepoint_ ) _if_ _IM_ ( _x, y_ ) ⩾ _T_ (28) 0 ( _Nonedgepoint_ ) _Otherwise_    In Figure 3(a), the Sobel edge detector is used to detect edges that cross the borders of an object. Since not every edge point can be considered an accurate sample point, these edge points indicate the gap between an object and the background. Every edge pixel in the object region is given a 5 × 5 window, It is employed to retrieve just valid sample points. when the window has more than five non-zero values, or white pixels, it is considered that the object’s area and the background areas are almost equal. Therefore, all pixel values in the window at the same position on the input image are binarized applying global thresholding by Otsu. Based on the optimal threshold _T_ 0, the pixel values in the window greater than _T_ 0 are regarded as accurate sample points and constitute a part of the set _S_ 02. _S_ 02 = { _x, y, I_ ( _x, y_ )|( _I_ ( _x, y_ ) ∈ _w_ ) ≥ _T_ 0} (29)   (26)  −1 - 2 - 1 0 0 0 1 2 1 _Mh_ =  −1 0 1 −2 0 2 −1 0 1  _,_ _Mv_ = _Gh_ = _Mh_ ∗ _I_ _and_ _Gv_ = _Mv_ ∗ _I_ (27) The magnitude of the gradient approximation is calculated ~~�~~ using the formula _IF_ ( _x, y_ ) = _G_ <sup>2</sup> _h_ <sup>(</sup> <sup>_x, y_</sup> <sup>) +</sup> <sup>_G_</sup> <sup>2</sup> _v_ <sup>(</sup> <sup>_x, y_</sup> <sup>).</sup> <sup>This</sup> value is used to obtain the edge image _IE_ by identifying those points where the gradient of the image is greater than a certain threshold _T_ . In other words, _IE_ is obtained as _max_ ( _IM_ _, T_ ), using the formula _IF_ ( _x, y_ ) = ~~�~~ _G_ <sup>2</sup> _h_ FIGURE 3. a) Edge image (b) Edge based observation points (c) The set _S_ 0 = _S_ 01 ∪ _S_ 02 both segmented image considering histogram and edge. The process of generating all the sample points in set _S_ 02 involves applying the same procedure to all the edge pixels. The TSP (Training Sample Point) of _S_ 02 are highlighted in white color in Fig. 3(b). The final TSP set _S_ 0 is defined as the union of _S_ 01 and _S_ 02 as shown in Fig. 3(c). It can be seen from Fig. 3(c), that the number of training sample points has grown dramatically and now encompasses nearly the whole object region. Fig. 4(a), (b), and (c) present the three-dimensional plot of the TSP obtained by combining two-step thresholding and an edge-based approach. As can be seen from Fig. 4(c), the sample points belong to the object region only and are well-distributed across the object area in the image. This means that the estimation of the illumination surface of the image will be highly accurate. _B._ _PROPOSED LC-FLANN BASED FRAMEWORK FOR_ _ILLUMINATION SURFACE ESTIMATION_ The proposed FLANN model is shown in Fig. 5. The objective is to train the FLANN model using the Section A recognized valid TSP is used to estimate the illumination surface. FLANN model, increases the dimensionality to get the space and discriminate the non linear input. Also in FLANN, due to its single layer, the number of weights and training time decreases. In the proposed FLANN Model, the input is expanded by trigonometric expansion, which produce more compact representation by using the Fourier basis function. In this expansion, sine and cosine functions are used to decrease the computation complexity. The inputs to the FLANN model are the coordinates of each sample point belongs to set _S_ . The input data to FLANN is two dimensional pattern _Si_ = [ _xi yi_ ] <sup>_T_</sup>, where _xi_, _yi_ are the normalized value of coordinate of sample point _Si_ ∈ _S_ . The intensity of the object point is considered as desired data output ‘ _di_ <sup>′,</sup> <sup>which</sup> <sup>is</sup> <sup>the</sup> normalized intensity value of the sample point _Si_ ∈ _S_ . The coordinate _xi_, and _yi_ and the intensity _di_ of sample points are normalized values. A simple FLANN model is constructed with a pattern of two features, considering the _i_ <sup>_th_</sup> sample point, the input vector _X_ ( _i_ ) is defined as _X_ ( _i_ ) = [ _x_ 1( _i_ ) _x_ 2( _i_ )] <sup>_T_</sup> . This _i_ <sup>_th_</sup> input sample is mapped to high dimensional space by functional expansion like trigonometric expansion as follows: _φi_ = [ _xi, sinπxi, cosπxi, yi, sinπyi, cosπyi, xiyi_ ] (30) where _i_, is the _i_ <sup>_th_</sup> input vector is functionally expanded. The sum of weighted components of the expanded input is represented as _ϕ_ ( _i, k_ ) = _φi_ <sup>_T_</sup> <sup>_.w_</sup> <sup>where w is the weight vector</sup> _w_ = [ _w_ 1 _, w_ 2 _, ..wM_ ]. Here _M_ is the total no of expanded term. _ϕ_ ( _i, k_ ) is represented as _ϕ_ ( _i, k_ ) = _w_ 1 _xi_ + _w_ 2 _sinπ_ ∗ _xi_ + _w_ 3 _cosπ_ ∗ _xi_ + _w_ 4 _yi_ + _w_ 5 _sinπ_ ∗ _yi_ + _w_ 6 _cosπ_ ∗ _yi_ + _w_ 7 _xi_ ∗ _yi_ (31) This input is passed through a sigmoid activation function to produce the model output with a probability of 0 and 1. To improve the linearity, sigmoid activation function is used at the output of the model as follows. <u>1</u> _d_ ˆ ( _i, k_ ) = _sig_ ( _ϕ_ ( _i, k_ )) = (32) 1 + _e_ <sup>−</sup> <sup>_ϕ_</sup> <sup>(</sup> <sup>_i,k_</sup> <sup>)</sup> where _i_ is the _i_ <sup>_th_</sup> training sample point and _k_ is the _k_ <sup>_th_</sup> iteration. The error term of the model, _e_ ( _i, k_ ), is defined as _e_ ( _i, k_ ) = _di_ - _d_ <sup>ˆ</sup> ( _i, k_ ) (33) _d_ ˆ ( _i, k_ ) is the estimated intensity value of _i_ <sup>_th_</sup> sample points at the output of the activation function, at the _k_ <sup>_th_</sup> epoch. The weights are updated by LMS algorithm as in (34) after each epoch in the training phase as follows: _wm_ ( _k_ + 1) = _wm_ ( _k_ ) + _�wm_ ( _k_ ); (34) where, _m_ = 1 _,_ 2 _,_ 3 _,_ 4 _,_ 5 _,_ 6 _, and_ 7. The change of weight at _k_ <sup>_th_</sup> iteration _�wm_ ( _k_ ) is calculated as given in (35) _�wm_ ( _k_ ) = 2 _µφm_ ( _i_ ) _δ_ ( _i, k_ ) (35) where, _φm_ ( _i_ ) is the _m_ <sup>_th_</sup> expanded value with _i_ <sup>_th_</sup> input pattern and _δ_ ( _i, k_ ) is the learning rate defined as _δ_ ( _i, k_ ) = - <u>1−</u> _<u>d</u>_ <sup>ˆ</sup> <sup>2</sup> <u>(</u> _<u>i,k</u>_ <u>)</u> 2 _e_ ( _i, k_ ) (36) Training the model with all training sample points once is one iteration. The objective is to train the model with the same training sample points iteratively to minimize the error _e_ . Once the error does not change, the model is trained with optimal weights. After the convergence of the weights, the illumination intensity of all pixels of the uneven light image is estimated using the trained LC-FLANN FIGURE 4. a) 3D image detected observation points with Edge b) 3D image with dual threshold Edge (c) 3D image of the combination of edge based and dual threshold based approach. model. This estimated illumination surface of Fig. 2(a) is placed in Fig. 6(a). The 3D plot of Fig. 6(a) is shown in Fig. 6(b) _C._ _ILLUMINATION NORMALIZATION & THRESHOLDING_ The image _I_ with uneven lighting is normalized using the estimated illumination surface _Is_ in (37). _IN_ ( _x, y_ ) = <sup>_<u>I</u>_</sup> <sup><u>(</u></sup> <sup>_<u>x, y</u>_</sup> <sup><u>) ×</u></sup> <sup>_<u>gs</u>_</sup> <sup><u>(</u></sup> <sup>_<u>max</u>_</sup> <sup><u>)</u></sup> _Is_ ( _x, y_ ) × _g_ ( _max_ ) × 255 (37) normalized image _IN_ of _I_, while Fig. 7(b) shows the 3D illumination surface of _IN_ . The normalized image _IN_ appears to have a nearly uniform illumination variation, as shown in Fig. 7(a) and 7(b). Binarization is often a critical step in various image processing tasks, especially when the goal is to distinguish objects from the background. Depending on the specific requirements of the task and the characteristics of the images, other methods might be used as alternatives. However, in many cases, binarization provides a simple and effective way to achieve the desired outcome. To convert the image to a binary format, Otsu’s thresholding method is applied on _IN_ . Fig. 7(b) displays the result of Otsu’s global thresholding approach on the binarized image from Fig. 7(a). In Equation (37), _g_ ( _max_ ) represents the maximum intensity value of the input gray image _I_ ( _x, y_ ), and _gs_ ( _max_ ) represents the maximum intensity value of the estimated illumination surface image _Is_ ( _x, y_ ). Fig. 7(a) displays the illumination FIGURE 5. Proposed LC-FLANN framework for illumination surface estimation. In Otsu’s thresholding, the optimal threshold _Topt_ is obtained by minimizing within-class variance _σwi_ <sup>2</sup> <sup>and</sup> <sup>maximizing</sup> between-class variance _σBi_ <sup>2</sup> <sup>.</sup> <sup>The</sup> <sup>_σ_</sup> _wi_ <sup>2</sup> <sup>and</sup> <sup>_σ_</sup> _Bi_ <sup>2</sup> <sup>at</sup> <sup>a</sup> <sup>threshold</sup> _t_ are defined as _Bi_ <sup>2</sup> <sup>.</sup> <sup>The</sup> <sup>_σ_</sup> _wi_ <sup>2</sup> _wi_ <sup>2</sup> <sup>and</sup> <sup>_σ_</sup> _Bi_ <sup>2</sup> _σwi_ <sup>2</sup> _B_ <sup>2(</sup> <sup>_t_</sup> <sup>) +</sup> <sup>_wF_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup> <sup>_σ_</sup> _F_ <sup>2</sup> _wi_ <sup>2</sup> <sup>=</sup> <sup>_wB_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup> <sup>_σ_</sup> _B_ <sup>2</sup> _F_ <sup>2(</sup> <sup>_t_</sup> <sup>)</sup> (38) Some sample uneven light images with their estimated 2D illumination surface image and corresponding illumination normalized images generated using the proposed approach are placed in Fig. 8 to Fig.11. The avg. convergence plot of the proposed Illumination surface estimation is shown in Fig. 12. The convergence plot is obtained by considering the average convergence plot of Mean square error (MSE) for all sample images, by taking 1000 iterations for each image. It is observed that this plot is converged near about 600 iterations. IV. EXPERIMENTS AND EVALUATION To validate the performance of a suggested method, five different approaches are used. These include Niblack [6], Bogiazis et al. [11], Yazid et al. [18], Cai and Miklavcic [19], and Zhao et al. [8]. These approaches are simulated on a computer with an Intel Core i5, 4MB L2 cache, 8 GB RAM, and a 2.4 GHz processor. 21 test images with varying degrees of uneven lighting are used to confirm each of these techniques. Ten of the images are sourced from the Berkeley database [31] and Weizmann [30], while eleven images are collected from various online sources. The original test images are presented in Fig. 13 and 14 along with the ground truth and binarized results. Fig. 13 and 14’s first and second columns display the original test images and corresponding ground truth (GT) images. Similarly, the binarized images in columns three through eight are correspondingly produced using the suggested method and the landmark methods mentioned above. where, _wB_ ( _t_ ) and _wF_ ( _t_ ) represent weight of background and foreground represented as _wB_ ( _t_ ) = <sup>�</sup> _i_ <sup>_t_</sup> =1 <sup>_pi_</sup> <sup>,</sup> <sup>and</sup> <sup>_wF_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup> <sup>=</sup> - _Li_ = _t_ +1 <sup>_pi_</sup> <sup>,</sup> <sup>where</sup> <sup>_pi_</sup> <sup>is</sup> <sup>the</sup> <sup>probability</sup> <sup>distribution</sup> <sup>of</sup> <sup>gray</sup> level _i_ = [1 _,_ 2 _, . . . L_ ] with, _L_ = 255. Similarly the _σBi_ <sup>2</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup> is represented as _σBi_ <sup>2</sup> <sup>(</sup> <sup>_t_</sup> <sup>) =</sup> <sup>_wB_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup> <sup>_wF_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)(</sup> <sup>_µB_</sup> <sup>(</sup> <sup>_t_</sup> <sup>) −</sup> <sup>_µF_</sup> <sup>(</sup> <sup>_t_</sup> <sup>))2</sup> (39) where _µB_ ( _t_ ) and _µF_ ( _t_ ) are the mean value of background and foreground pixels based on threshold _t_ represented as _µB_ = <sup>�</sup> <sup>_t_</sup> _i_ =1 <sup>_iPi_</sup> <sup>and</sup> <sup>_µF_</sup> <sup>=</sup> <sup>�</sup> _i_ <sup>_L_</sup> = _t_ +1 <sup>_iPi_</sup> <sup>.</sup> <sup>The</sup> <sup>variance</sup> <sup>of</sup> <sup>_t_</sup> _i_ =1 <sup>_iPi_</sup> <sup>and</sup> <sup>_µF_</sup> <sup>=</sup> <sup>�</sup> _i_ <sup>_L_</sup> _µB_ = <sup>�</sup> <sup>_t_</sup> _i_ =1 <sup>_iPi_</sup> <sup>and</sup> <sup>_µF_</sup> <sup>=</sup> <sup>�</sup> _i_ <sup>_L_</sup> = _t_ +1 <sup>_iPi_</sup> <sup>.</sup> <sup>The</sup> <sup>variance</sup> <sup>of</sup> background and foreground pixels are represented as. _σB_ ( _t_ ) = - _Ti_ =1 <sup>(</sup> <sup>_i_</sup> <sup>−</sup> <sup>_µB_</sup> <sup>(</sup> <sup>_t_</sup> <sup>))2 ×</sup> <sup>_pi_</sup> <sup>and</sup> <sup>_σF_</sup> <sup>(</sup> <sup>_t_</sup> <sup>) = �</sup> _i_ <sup>_L_</sup> = _T_ +1 <sup>(</sup> <sup>_i_</sup> <sup>−</sup> <sup>_µF_</sup> <sup>(</sup> <sup>_t_</sup> <sup>))2 ×</sup> <sup>_pi_</sup> <sup>.</sup> - _Ti_ =1 <sup>(</sup> <sup>_i_</sup> <sup>−</sup> <sup>_µB_</sup> <sup>(</sup> <sup>_t_</sup> <sup>))2 ×</sup> <sup>_pi_</sup> <sup>and</sup> <sup>_σF_</sup> <sup>(</sup> <sup>_t_</sup> <sup>) = �</sup> _i_ <sup>_L_</sup> = _T_ +1 <sup>(</sup> <sup>_i_</sup> <sup>−</sup> <sup>_µF_</sup> <sup>(</sup> <sup>_t_</sup> <sup>))2 ×</sup> <sup>_pi_</sup> <sup>.</sup> The parameters _wB_ ( _t_ ) and _wF_ ( _t_ ), _µB_ ( _t_ ) and _µF_ ( _t_ ) are the function of the threshold _t_ . Therefore the optimal threshold _Topt_ is evaluated as follows: (40) _Topt_ = _max_ _t_ - _σBi_ <sup>2</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup> _σwi_ <sup>2</sup> ( _t_ ) Finally the binarized image _IB_ ( _x, y_ ) is obtained as _IB_ ( _x, y_ ) = 1 _if_ ( _IN_ ( _x, y_ ) _> Topt_ ) (41) 0 _otherwise_ FIGURE 6. a) Estimated 2D illumination surface image _IS_ b) Estimated 3D Illumination plane. In Fig. 13, the objects and background are blended in images that were processed using the Niblack and Bogiatzis techniques, leaving only the outer edges visible. The highlighted areas of the Yazid method’s objects are improperly segmented, except the L-image and Synth-1 images. However, pics like the coin, Synth1, Crane, Synth4, thread, and hand reveal backdrop that is incorrectly categorized as an object in the Cai technique. According to the Zhao approach, the majority of the object pixels in images like rice, and synth-1, are accurately segmented in the suggested approach. Both quantitative and qualitative metrics are used to evaluate the performance. Based on the visual performance, the qualitative performance was assessed. On the other hand, Recall( _Re_ ), Precision( _Pr_ ), F-measure( _F_ 1), Jaccard Index( _JI_ ), and the percentage of misclassification error ( _PME_ ) are taken into consideration while evaluating the quantitative measures. Images of the ground reality are crucial for assessing quantitative metrics. The databases contain the where _Tp_ is the true positive and _Fp_ is the false positive. The Recall measure _Re_ is defined as _<u>TP</u>_ ( _Re_ ) = _TP_ + _FN_ where, _FN_ is the false Negative. FIGURE 7. a) Illumination normalized image _IN_ b) 3D Intensity balanced surface c) Binarized Image. Berkeley and Weizmann ground truths. Nevertheless, the real-world test images on the internet are created manually. The Precision measure ( _Pr_ ) measure is defined as _<u>TP</u>_ ( _Pr_ ) = _TP_ + _FP_ _,_ (42) (43) FIGURE 8. a) Input Synth-4 image b) Estimated 2D illumination surface image _IS_ (c) Illumination normalized image _IN_ . FIGURE 9. a) Input crane image b) Estimated 2D illumination surface image _IS_ (c) Illumination normalized image _IN_ . FIGURE 10. a) Input Limage image b) Estimated 2D illumination surface image _IS_ (c) Illumination normalized image _IN_ . FIGURE 11. a) Input flower image b) Estimated 2D illumination surface image _IS_ (c) Illumination normalized image _IN_ . The combination of the _Pr_ and _Re_ measures is known as the F-Measure ( _F_ 1). _F_ - _Measure_ ( _F_ 1) = 2 × <sup>_<u>Pr</u>_</sup> <sup>×</sup> <sup>_<u>Re</u>_</sup> _Pr_ + _Re_ (44) The _JI_ measure is defined as _Jaccard_ _Index_ ( _JI_ ) = <sup>_<u>SI</u>_</sup> <sup>�</sup> <sup>_<u>GT</u>_</sup> _SI_ <sup><u>�</u></sup> _GT_ (45) FIGURE 12. convergence plot of MSE. TABLE 1. Visual perspective based qualitative measure. where the corresponding ground truth image is _GT_, and the binarized image is _SI_ . The ( _PME_ ) measure defined as × 100 (46) performance of Yazid et al. [18] and Cai and Miklavcic [19] is satisfactory on 40% of test images in Fig. 13 and 60% in Fig. 14. The performance of Zhao et al. [8] is 40% in both the set of test images in Fig. 13 and Fig. 14. However, the proposed approach outperformed in most of the test images in Fig. 13 and Fig. 14. As a result, the suggested strategy is the only one among all of them that can binarize any variation of uneven light image. Fig. 15 displays the average _Pr_, _Re_, _F_ 1, and _JI_ score for each of these five approaches using the suggested FLANNbased methodology. It is noted that the suggested FLANN technique performs best out of all the methodologies taken into consideration for the validation and is consistent in every measure. _PME_ = �1 − <sup>(</sup> <sup>_Fs_</sup> <sup>∩</sup> <sup>_Fg_</sup> <sup>) ∪</sup> <sup>(</sup> <sup>_Bs_</sup> <sup>∩</sup> <sup>_Bg_</sup> <sup>)</sup> ( _Fg_ + _Bg_ ) where _Fg_ and _Bg_ denote the set of foreground and background pixels in the ground truth image and _Fs_ and _Bs_ represent the set of foreground and background pixels in the binarized image respectively. The qualitative performance is evaluated as in Table 1, which shows the degree of visual perspective similarity between the binarized image and the ground truth test images in Fig. 13 and 14. It is observed from table 1 that the two methods Niblack et al. [6] and Bogiazis et al. [11] are satisfactory on one image like a fingerprint. However the FIGURE 13. Segmentation results of Internet images: Col 1: Original uneven light images; Col 2: GT images; Col 3: to Col 8: are the binarized images of Niblack [6], Bogiatzis [11], Yazid [18], Cai and Miklavcic [19], Zhao [8], and Proposed Method respectively. To further verify the effectiveness of each of these approaches, quantitative metrics such as _Pr_, _Re_, _F_ 1, _JI_, _PME_, and time complexity are employed. The _Pr_, _Re_, _F_ 1, _JI_, and _PME_ measurements for each of these approaches are displayed, correspondingly, on all 21 test pictures in Tables 2, 3, 4, 5, and 6. These methods on all 21 test images. Table 2 shows that for the majority of the images in the suggested technique with an average, the _Pr_ value is high. TABLE 2. Perfermance measure precision ( _Pr_ ). TABLE 3. Performance measure recall ( _Re_ ). The value of _Pr_ score of 0 _._ 98. The Yazid technique [18] has the third-highest average _Pr_, at 0 _._ 87, while Cai and Miklavcic [19] and Zhao [8] have the second-highest average, at 0 _._ 93. The high value of _Pr_ suggests that there are more TABLE 4. Performace measure F-Measure ( _F_ 1). TABLE 5. Performance measure jaccard index ( _JI_ ). true positives and fewer false positives. The Niblack approach has the highest average when taking into account the _Re_ metric of 0 _._ 97 as shown in Table 3. The proposed technique has the second highest 0 _._ 96, whereas the Yazid and Cai FIGURE 14. Segmentation results of dataset images: Col 1: Original uneven light images; Col 2: GT images; The binarized images of Niblack [6], Bogiatzis [11], Yazid [18], Cai and Miklavcic [19], Zhao [8], and the Proposed Method are the outputs, corresponding to Cols 3 through Col 8. method has the highest score of 0 _._ 95. Consequently, when comparing the average _Re_, the amount of false negatives in the suggested method is nearly negligible. It has been noted that the suggested approach has the lowest false positive and false negative values and the highest true positive value. Likewise, Table 4 presents the _F_ 1 measure, which is a combination of _Re_ and _Pr_ . The average for the suggested method is _F_ 1 is 0 _._ 97. The average for Cai is _F_ 1 is 0 _._ 93, whereas the average for Yazid and Zhao is _F_ 1 is 0 _._ 88. The similarity metric between the segmented image and its ground truth is called the Jaccard Index (JI). Table 5 demonstrates that, when compared to other methods, the suggested technique has the highest _JI_ measure of 0 _._ 95. Fig. 15 displays the average _Pr_, _Re_, _F_ 1, and _JI_ score for each of these five approaches using the suggested FLANNbased methodology. It is noted that the proposed FLANN technique performs best out of all the methodologies taken TABLE 6. Performance measure ( _PME_ ). FIGURE 15. Average performace of _Pr_, _Re_, _F_ 1, and _JI_ . FIGURE 16. AVG percentage of misclassification error _PME_ . into consideration for the validation and is consistent in every measure. TABLE 7. Average performance for different approach. Comparably, in Table 6 the PME measure shows suggested approach has the least amount of misclassification ( _PME_ ), of 1 _._ 42%. However, _PME_ of 4% and 6%, respectively, are found in the Cai and Zhao et al. approaches. Fig. 16 displays the average _PME_ of the five approaches as well as the suggested FLANN method. When evaluating both qualitative and quantitative metrics, the suggested method performed better than all state-of-the-art techniques on every variation of example images with non-uniform illumination. It is observed from Table 7 shows that the proposed method has the highest average _JI_ measure, of 0 _._ 95. The methods of Cai et al. [19] and Yazid et al. [18] rank second and third, respectively, with average _JI_ scores of 0 _._ 89 and 0 _._ 84. Similarly, average F1-measure for suggested method is of 0 _._ 97, and Cai and Miklavcic [19] and Zhao et al. [8] is having the second and third highest of 0 _._ 93 and 0 _._ 88. For all types of uneven images, the proposed approach performs better TABLE 8. Computation time in seconds. TABLE 9. Ablation experiment results on database images and sample images. than the other approaches when taking into account both qualitative and quantitative metrics. Table 8 computes the CPU time in order to assess the methods’ complexity further. The average calculation time for the suggested approach is 18.8 seconds, the second-lowest average computation time is 0.37 seconds for the Cai et al. method, and the lowest average computation time is 0.22 seconds for the Niblack [6] method. On the other hand, the _JI_ and _F_ 1 measures in the Niblack technique are located in the 5 <sup>_th_</sup> position. In terms of _F_ 1 and _JI_ metrics, the Cai and Miklavcic [19] is ranked second. The suggested approach, however, performs best in terms of averages for _Pr_, _Re_, _F_ 1, _JI_, and _PME_ . In Table 9, a study was conducted to compare the specific impacts of different modules and their combined performance on various sample images through an ablation experimental approach. The comparison involved two modules: TST (Two Stage Thresholding) or dual threshold method, and EB (Edge Based) method, along with the performance of the combined Dual threshold and Edge based method. The evaluation included precision (Pr), recall (Re), F-measure (F1), Jaccard Index (JI), percentage of misclassification error (PME), and time complexity for database images such as Berkeley and Weizmann database images, as well as sample internet images. In the table, the performance values for Precision (Pr), Recall (Re), F-measure (F), and Jaccard Index (JI) are of 0.98, 0.96, 0.97, and 0.95, respectively, for both the database and sample images. Similarly, the percentage of misclassification error(PME) of 1 _._ 3% for the database images and 1 _._ 52% for the sample internet images. Overall, the combined effect of the two modules results in an average PME is of 1 _._ 42%, which is better than the individual impacts of the TST and EB modules. Subsequently, the combined effect of two modules TST and EB-based method for extraction of valid sample point generation increases the time complexity compared to the individual impact. However, with the time complexities, the percentage of misclassification for those images are in the range of 1%-2%. In some of the failure cases of the proposed method like: for some images such as synth-2, crane, thread, hand, and ninetyeight, the percentage of misclassification is in the range of 2%-3% as in Table. 6 quantitatively. However, qualitatively also these images are not accurate w.r.t to ground truth as discussed in Table 1. Also from the ablation study of the experiment of database and sample images of Table 9 due to the combined effect of two modules TST and EB-based methods, the time complexity for database and sample images is in the range of 15-20sec. V. CONCLUSION In this study, A quick and effective method for images with variable illumination conditions, local/adaptive thresholding computes a distinct threshold for each pixel based on its local vicinity. Nonetheless, the following are the main difficulties with local/adaptive thresholding methods: (i) It is important to choose the ideal window or sub-image size. A window that is too big might not be able to catch local differences, while a window that is too narrow will be more susceptible to noise. (ii) Because local/adaptive thresholding relies on computations based on pixels or sub-images, it is very sophisticated and memory-intensive. (iii) The presence of both background and object regions in every window or sub-image is necessary to prevent significant misclassification errors during local thresholding. (iv) Compared to global approaches, implementing local thresholding algorithms might be more complicated, presenting difficulties for developers and needing more sophisticated programming abilities. (v)The specific environmental characteristics of the image, such as differences in lighting and texture, can have a significant impact on how effective local thresholding parameters are. The goal is to normalize uneven illumination situations in order to improve the accuracy of global thresholding. By utilizing the FLANN model to normalize the illumination surface, the suggested approach lessens complexity and boosts efficiency in order to overcome these difficulties. Acquiring legitimate training sample points (TSP) is essential for training models in an efficient manner. Better training and more accurate segmentation results are guaranteed by the suggested approach, which improves the extraction process. The suggested approach addresses these issues and enhances image binarization accuracy and dependability in a range of lighting scenarios. The suggested method is found to have the lowest _F_ 1 score of 0 _._ 97 and lowest PME on average, 1 _._ 42%, average _JI_ score of 0 _._ 95, and an average time for computation of 18.8 seconds. To shorten the computation time at the sample point creation, parallel processing and FLANN functional expansion part parallelization are recommended. ACKNOWLEDGMENT The authors would like to acknowledge to the Universiti Kebangsaan Malaysia Research Grant through the Dana Padanan Kolaborasi (DPK) under the grant number DPK-2022-006. Also, extend their appreciation to Taif University, Saudi Arabia, for supporting this work through project number (TU-DSPP-2024-11). REFERENCES [1] N. Otsu, ‘‘A threshold selection method from gray-level histograms,’’ _IEEE_ _Trans. Syst., Man, Cybern._, vol. SMC-9, no. 1, pp. 62–66, Jan. 1979. [2] H. Cai, Z. Yang, X. Cao, W. Xia, and X. Xu, ‘‘A new iterative triclass thresholding technique in image segmentation,’’ _IEEE_ _Trans._ _Image_ _Process._, vol. 23, no. 3, pp. 1038–1046, Mar. 2014. [3] C. Sha, J. Hou, and H. Cui, ‘‘A robust 2D Otsu’s thresholding method in image segmentation,’’ _J._ _Vis._ _Commun._ _Image_ _Represent._, vol. 41, pp. 339–351, Nov. 2016. [4] J. Ma and X. Cheng, ‘‘Fast segmentation algorithm of PCB image using 2D OTSU improved by adaptive genetic algorithm and integral image,’’ _J._ _Real-Time_ _Image_ _Process._, vol. 20, pp. 596–605, Feb. 2023. [5] J. Xing, P. Yang, and L. Qingge, ‘‘Robust 2D Otsu’s algorithm for uneven illumination image segmentation,’’ _Comput._ _Intell._ _Neurosci._, vol. 2020, [no. 1, 2020, Art. no. 5047976, doi: 10.1155/2020/5047976.](http://dx.doi.org/10.1155/2020/5047976) [6] W. Niblack, _An_ _Introduction_ _to_ _Digital_ _Image_ _Processing_ . Upper Saddle River, NJ, USA: Prentice-Hall, 1986. [7] D. Bradley and G. Roth, ‘‘Adaptive thresholding using the integral image,’’ _J. Graph. Tools_, vol. 12, no. 2, pp. 13–21, 2007. [8] L. Zhao, S. Zheng, W. Yang, H. Wei, and X. Huang, ‘‘An image thresholding approach based on Gaussian mixture model,’’ _Pattern_ _Anal._ _Appl._, vol. 22, pp. 75–88, Jan. 2019. [9] X. Pan, Q. Zhang, and H. Pan, ‘‘Improved artificial bee colony algorithm and its application to fundus retinal blood vessel image binarization,’’ _IEEE_ _Access_, vol. 8, pp. 123726–123734, 2020. [10] Q. Huang, W. Gao, and W. Cai, ‘‘Thresholding technique with adaptive window selection for uneven lighting image,’’ _Pattern_ _Recognit._ _Lett._, vol. 28, pp. 801–808, May 2005. [11] A. C. Bogiatzis and B. K. Papadopoulos, ‘‘Local thresholding of degraded or unevenly illuminated documents using fuzzy inclusion and entropy measures,’’ _Evolving_ _Syst._, vol. 10, no. 4, pp. 593–619, Dec. 2019. [12] P. Kanungo, P. K. Nanda, and A. Ghosh, ‘‘Parallel genetic algorithm based adaptive thresholding for image segmentation under uneven lighting conditions,’’ in _Proc._ _IEEE_ _Int._ _Conf._ _Syst.,_ _Man_ _Cybern._, Oct. 2010, pp. 1904–1911. [13] P. Kanungo, P. K. Nanda, and A. Ghosh, ‘‘Detection of Earth surface cracks using parallel genetic algorithm based thresholding,’’ in _Proc._ _Int._ _Conf._ _Adv._ _Comput.,_ _Control,_ _Telecommun._ _Technol._, Dec. 2009, pp. 4–11. [14] T. Pattnaik and P. Kanungo, ‘‘GMM based adaptive thresholding for uneven lighting image binarization,’’ _J._ _Signal_ _Process._ _Syst._, vol. 93, pp. 1253–1270, Nov. 2021. [15] T. Pattnaik and P. Kanungo, ‘‘Adaptive window selection for non-uniform lighting image thresholding,’’ _ELCVIA: Electron. Lett. Comput. Vis. Image_ _Anal._, vol. 20, no. 1, pp. 42–54, 2021. [16] S. D. Yanowitz and A. M. Bruckstein, ‘‘A new method for image segmentation,’’ _Comput._ _Vis.,_ _Graph.,_ _Image_ _Process._, vol. 46, no. 1, pp. 82–95, 1989. [17] I. Blayvas, A. Bruckstein, and R. Kimmel, ‘‘Efficient computation of adaptive threshold surfaces for image binarization,’’ _Pattern_ _Recognit._, vol. 39, no. 1, pp. 89–101, Jan. 2006. [18] H. Yazid and H. Arof, ‘‘Gradient based adaptive thresholding,’’ _J._ _Vis._ _Commun._ _Image_ _Represent._, vol. 24, no. 7, pp. 926–936, 2013. [19] J. Cai and S. Miklavcic, ‘‘Surface fitting for individual image thresh olding and beyond,’’ _IET_ _Image_ _Process._, vol. 7, no. 6, pp. 596–605, 2013. [20] P. Jain, M. T. Islam, and A. S. Alshammari, ‘‘Comparative analysis of machine learning techniques for metamaterial absorber performance in terahertz applications,’’ _Alexandria_ _Engineering_ _J._, vol. 103, pp. 51–59, Sep. 2024. [21] A. D. Watpade, S. Thakor, P. Jain, P. P. Mohapatra, C. R. Vaja, A. Joshi, D. V. Shah, and M. Tariqul Islam, ‘‘Comparative analysis of machine learning models for predicting dielectric properties in MoS2 nanofillerreinforced epoxy composites,’’ _Ain Shams Eng. J._, vol. 15, no. 6, Jun. 2024, Art. no. 102754. [22] P. K. Sahoo, M. K. Panda, U. Panigrahi, G. Panda, P. Jain, M. S. Islam, and M. T. Islam, ‘‘An improved VGG-19 network induced enhanced feature pooling for precise moving object detection in complex video scenes,’’ _IEEE Access_, vol. 12, pp. 45847–45864, 2024. [23] P. Jain, H. Chhabra, U. Chauhan, K. Prakash, P. Samant, D. K. Singh, M. S. Soliman, and M. T. Islam, ‘‘Machine learning techniques for predicting metamaterial microwave absorption performance: A comparison,’’ _IEEE Access_, vol. 11, pp. 128774–128783, 2023. [24] N. Misran, M. T. Islam, M. Y. Ismail, and S. H. Yusop, ‘‘Analisis pencirian parameter ketebalan dan kebertelusan substrat bagi elemen cincin segiempat sepusat bersela antena tatasusun pantulan, _Jurnal_ _Kejuruteraan_, vol. 23, p. 1115, Nov. 2011. [25] P. Jain, H. Chhabra, U. Chauhan, K. Prakash, A. Gupta, M. S. Soliman, M. S. Islam, and M. T. Islam, ‘‘Machine learning assisted hepta band THz metamaterial absorber for biomedical applications,’’ _Sci._ _Rep._, vol. 13, no. 1, p. 1792, Jan. 2023. [26] S. He and L. Schomaker, ‘‘DeepOtsu: Document enhancement and binarization using iterative deep learning,’’ _Pattern_ _Recognit._, vol. 91, pp. 379–390, Jul. 2019. [27] S. Dehuri, R. Roy, S.-B. Cho, and A. Ghosh, ‘‘An improved swarm optimized functional link artificial neural network (ISO-FLANN) for classification,’’ _J._ _Syst._ _Softw._, vol. 85, no. 6, pp. 1333–1345, Jun. 2012. [28] F. Calderon, A. Garnica-Carrillo, and C. Reyes-Zuñiga, ‘‘Binarization of images with variable lighting using adaptive windows,’’ _Signal,_ _Image_ _Video_ _Process._, vol. 16, no. 7, pp. 1905–1912, Oct. 2022. [29] E. Molina, J. Diaz, H. Silva, and E. Chvez, ‘‘Algoritmos de binarizacion robusta de imágenes con iluminación no uniforme,’’ _Revista_ _Iberoamer-_ _icana_ _de_ _Automática_ _e_ _Informática_ _Ind._, vol. 15, no. 3, pp. 252–261, 2018. [30] Alpert. _Weizmann_ _Segmentation_ _Evaluation_ _Database_ . Accessed: Oct. 30, 2027. [Online]. Available: http://www.wisdom.weizmann.ac. il/~vision/Seg-Evaluation-DB [31] Martin. _Berkeley_ _Segmentation_ _Dataset_ . Accessed: Oct. 30, 2017. [Online]. Available: http://www2.eecs.berkeley.edu/Research/ projects/CS/vision/bsds/ [32] M. Yang and X. Fan, ‘‘YOLOv8-Lite: A lightweight object detection model for real-time autonomous driving systems,’’ _IECE_ _Trans._ _Emerg._ _Topics_ _Artif. Intell._, vol. 1, no. 1, pp. 1–16, 2024. [33] S. Wang, ‘‘Real-time object detection using a lightweight two-stage detection network with efficient data representation,’’ _IECE Trans. Emerg._ _Topics Artif. Intell._, vol. 1, no. 1, pp. 17–30, 2024. [34] G. Cheng, C. Lang, and J. Han, ‘‘Holistic prototype activation for few shot segmentation,’’ _IEEE Trans. Pattern Anal. Mach. Intell._, vol. 45, no. 4, pp. 4650–4666, Apr. 2023. [35] C. Lang, G. Cheng, B. Tu, and J. Han, ‘‘Few-shot segmentation via divide and-conquer proxies,’’ _Int._ _J._ _Comput._ _Vis._, vol. 132, no. 1, pp. 261–283, Jan. 2024. [36] C. Lang, J. Wang, G. Cheng, B. Tu, and J. Han, ‘‘Progressive parsing and commonality distillation for few-shot remote sensing segmentation,’’ _IEEE_ _Trans. Geosci. Remote Sens._, vol. 61, 2023, Art. no. 5613610. [37] C. Lang, G. Cheng, B. Tu, C. Li, and J. Han, ‘‘Base and meta: A new perspective on few-shot segmentation,’’ _IEEE Trans. Pattern Anal. Mach._ _Intell._, vol. 45, no. 9, pp. 10669–10686, Sep. 2023. TAPASWINI PATTNAIK (Member, IEEE) received the B.Tech. degree in electronics and telecommunication engineering and the M.Tech. degree in electronics and communication engineering from Biju Patnaik University (BPUT), Rourkela, Odisha, in 2004 and 2010, respectively, where she is currently pursuing the Ph.D. degree in image processing. Currently, she is an Assistant Professor with the Department of Electronics and Communication Engineering, C. V. Raman Global University. She has published many research papers in refereed international conferences and journals. Her research interests include image processing and machine learning and deep learning. PRIYADARSHI KANUNGO (Senior Member, IEEE) received the degree in electrical engineering from the Institute of Engineers, Calcutta, in 1997, the M.Tech. degree in electronics system and communication from REC, Rourkela, Orissa, in 2001, and the Ph.D. degree in engineering from the National Institute of Technology, Rourkela, in 2010. He is currently holds the position of a Professor with the Department of Electronics and Telecommunication Engineering, Driems University, Cuttack, Odisha, India. With over 22 years of experience in both teaching and research, his primary areas of expertise encompass signal processing, image analysis, computer vision, parallel genetic algorithms, evolutionary computation and bioinformatics, machine learning, MIMO systems, soft computing, and robotics. He has contributed to over 50 scientific publications in esteemed journals and international conferences. PRABODH KUMAR SAHOO (Member, IEEE) received the M.E. degree from Rajiv Gandhi Proudyogiki Vishwavidyalaya, Bhopal, India, in 2005, and the Ph.D. degree from the Centurion University of Technology and Management, Odisha, India, in 2019. He is currently an Associate Professor with the Department of Mechatronics, Parul University, Vadodara, Gujarat, India. He has six peer reviewed journals, five international conference articles, and two patents to his credit. His research interests include image processing, computer vision, and cyber-physical systems. TEJASWINI KAR (Senior Member, IEEE) received the B.Tech. degree in electronics and telecommunication engineering from BPUT, in 2003, and the M.Tech. degree in communication system engineering and the Ph.D. degree in electronics and telecommunication engineering from KIIT Deemed to be University, Bhubaneswar, India, in 2008 and 2018, respectively. She has more than 18 years of teaching experience. She is currently an Assistant Professor with the School of Electronics Engineering, KIIT Deemed to be University. She has published many research papers in refereed international conferences and journals. Her current research interests include image and video processing and machine learning and deep learning. PRINCE JAIN received the Doctor of Philosophy (Ph.D.) degree from Punjab Engineering College (Deemed to be University), Chandigarh, India. He is currently an Assistant Professor (Research Cadre) with the Mechatronics Engineering Department, Parul Institute of Technology, Parul University, Vadodara, India. He received the Visvesvaraya Ph.D. Scheme Fellowship to complete the Doctor of Philosophy (Ph.D.) Dissertation. He is the author or co-author of about 28 research journal articles, 20 conference papers, and a few book chapters on various topics related to machine learning, artificial intelligence and metamaterials. He has contributed as a peer reviewer for prestigious publishers, including IEEE, Springer Nature, Elsevier, IOPscience, Wiley, PIER, Emerald, and PLOS. His research interests include machine learning, artificial intelligence, optimization techniques, metamaterial absorbers/antennas at RF, THz and visible frequencies, material science, nanotechnology, and biomedical signal processing. He serving as an Academic Editor for _Journal_ _of Electrical and Computer Engineering_ (Wiley), _Discover Applied Sciences_ (Springer), and _PLOS One_ journal. He is serving as a Topical Advisory Panel Member for _Micromachines_ and _Materials_ (MDPI). MOHAMED S. SOLIMAN (Senior Member, IEEE) received the Ph.D. degree in communications engineering from the Graduate School of Engineering, Osaka University, Japan. He is currently an Associate Professor with the Department of Electrical Engineering, College of Engineering, Taif University, Saudi Arabia, where he was granted many research projects from the Deanship of Scientific Researches. He is the author or coauthor of more than 140 papers indexed in Scopus and WOS databases and five book chapters. He has been recognized as a Distinguished Researcher (one of the 100 most active researchers) from the Deanship of Scientific Research, Taif University, in 2023, where he was rewarded the Distinguished Researchers Supporting Project and Scientific Publication Reward for 2023 from the Deanship of Scientific Research. His research interests include wireless communications, phased and timed array signal processing, UWB antennas, MIMO antennas, dielectric resonant antennas, optimization techniques in antenna design, antenna measurement techniques, metamaterial structures, biosensors, RF energy harvesting systems, and numerical methods in electromagnetics. He is a Senior Member of the IEEE-MTT/AP Society. Also, he serves as a Reviewer for many scientific journals [i.e., PIER—PhotonIcs and Electromagnetics Research Symposium, _International_ _Journal_ _of_ _RF_ _and_ _Microwave_ _Computer-_ _Aided_ _Engineering_ (Wiley Hindawi Partnership), and _Wireless_ _Personal_ _Communications_ (Springer)]; and a TPC member for many international conferences. MOHAMMAD TARIQUL ISLAM (Senior Member, IEEE) is currently a Professor with the Department of Electrical, Electronic and Systems Engineering, Universiti Kebangsaan Malaysia (UKM), and a Visiting Professor with Kyushu Institute of Technology, Japan. He is the author or co-author of about 600 research journal articles, nearly 250 conference articles, and a few book chapters on various topics related to antennas, metamaterials, and microwave imaging with 25 inventory patents filed. Thus far, his publications have been cited 14,000 times and his H-index is 53 (Source: Scopus). His Google scholar citation is 22500 and H-index is 62. He was a recipient of more than 40 research grants from Malaysian Ministry of Science, Technology and Innovation, Ministry of Education, UKM research grant, international research grants from Japan, Saudi Arabia, and Kuwait. His research interests include communication antenna design, metamaterial, satellite antennas, and microwave imaging. He served as an Executive Committee Member for IEEE AP/MTT/EMC Malaysia Chapter, from 2019 to 2020, the Chartered Professional Engineer (C.Eng.), a fellow of IET, U.K., and a Senior Member of IEICE, Japan. He received several international gold medal awards, a Best Invention in Telecommunication Award for his Research and Innovation and Best Researcher Awards from UKM. He was a recipient of 2018, 2019, and 2020 IEEE AP/MTT/EMC Malaysia Chapter, Excellent Award. He also won the Best Innovation Award and the Best Researcher Award by UKM, in different years. He was a recipient of Publication Award from Malaysian Space Agency, in several years. He has supervised about 50 Ph.D. theses, 30 M.Sc. theses, and has mentored more than ten postdoctoral’s and visiting scholars. He has developed the Antenna Measurement Laboratory which includes antenna design and measurement facility till 40 GHz. He was an Associate Editor of _IET Electronics Letter_ . He also serves as a Guest Editor for _Sensors_ journal and _Nanomaterials_ and an Associate Editor for IEEE ACCESS.

섹션 본문 145문단 · 55,504자

(제목 없음)

1The most popular technique for converting two-class images into binary images is thresholding.However, thresholding methods tend to perform poorly when dealing with images affected by uneven lighting.To address this issue, local thresholding techniques are commonly used.While pixel-based local thresholding methods can achieve high accuracy, they are computationally complex.Window-based local thresholding presents challenges in selecting the initial window and determining the criterion function for dividing the image into smaller versions.In this study, a novel technique is proposed to improve the effectiveness of binarizing images with uneven lighting.The proposed method is based on a lowcomplexity functional neural network model (LC-FLANN) to estimate an image's illumination surface.The effectiveness of the proposed technique has been evaluated using five widely used uneven lighting image binarization techniques and various uneven light image variations.The results show that the proposed approach outperforms other alternatives in both qualitative and quantitative metrics.It achieved an average F-Measure score of 0.97, a Jaccard Index (JI) score of 0.95, and a Percentage of Misclassification Error (PME) 1.42%, demonstrating superior overall performance.

I. INTRODUCTION

2In any computer vision application, image segmentation plays a crucial role.The success of image segmentation determines how well objects can be detected, recognized, and tracked.Among the various image segmentation techniques, thresholding stands out as a simple and effective method for real-time applications.This technique involves dividing the image into two categories-background and object-making it ideal for two-class image binarization.

3The thresholding process can be grouped into global and local approaches.Otsu's method [1] is a popular algorithm for global thresholding in image binarization, aiming to maximize the variance between classes and minimize withinclass variation.Meanwhile, Cai et al. [2] enhanced the Otsu approach by iteratively calculating the threshold using the image's flat distribution.Additionally, Sha et al. [3] presented a 2D Otsu thresholding approach based on the combined histogram of average and median characteristics to improve the accuracy of global thresholding.However, in the presence of uneven lighting, the bimodality of the gray level distribution vanishes, leading to a drastic decrease in the performance of global thresholding.To address this, Ma and Gheng [4] developed a quick and enhanced 2D Otsu's method based on the integral image and adaptive genetic algorithm to binarize unequal light and low contrast images.It's important to note that this method is effective for low-contrast picture binarization but may not work as well for other variations of uneven light image binarization.Consequently, local thresholding approaches have been developed to tackle the issue of uneven lighting.

4Local thresholding techniques can be categorized into pixel-based and window-based approaches.Xing et al. [5] introduced an image partitioning method based on 2D Otsu for dealing with noisy and unevenly lit images.Niblack [6] determined a threshold for each window using the mean and standard deviation, but this method increases computational complexity with the size of the window and image.Bradley et al. [7] proposed a local binarization technique that reduces computational complexity by using an integral image approach, which is not affected by window size, but it doubles the memory requirement due to integral images.Zhao et al. suggested the Gaussian Mixture Model (GMM), which calculates each pixel's threshold within its neighbourhood and binary codes each pixel by comparing it to the local thresholding of a window-based area.It was noted that window-based local thresholding has less computational complexity than pixel-based methods.The primary objective of thresholding, regardless of being image partition-based or window-based, is to identify an area with both foreground and background distributions and minimal lighting effects.PAN [9] proposed a local image binarization technique using the ABC algorithm to divide the grayscale image into blood vessels and background by determining a suitable threshold.

5To detect bimodality in each sub-image, Huang et al. [10] proposed using a criterion function called Lorentz information measure (LIM).The pyramid method is employed to divide the image into smaller sub-images.Next, Otsu's thresholding technique is applied to the sub-images that meet the LIM requirements.All the thresholded sub-images are then combined to create the final binarized image.The size of the chosen sub-image determines the effectiveness of this method for binarizing images with uneven lighting.

6To determine the threshold, Bogiazis and Papadopoulos [11] developed a method for local thresholding based on fuzzy inclusions and entropy criteria.The window size required to binarize an image varies depending on the image.Proper bimodal criteria is crucial for selecting the relevant sub-image from any given image.

7Kanungo et al. [12], [13] have devised a window-based methodology to enhance accuracy through adaptive window selection using window merging and window expansion approaches.The window selection criteria are based on feature entropy and entropy, and a Parallel Genetic Algorithm (PGA) is used to binarize each window.Additionally, the window expansion method has been employed to improve 118316 VOLUME 12, 2024 Authorized licensed use limited to the terms of the applicable license agreement with IEEE.Restrictions apply.

8precision.However, computational complexity is a significant issue with both window merging and window expansion based on local thresholding, and the accuracy of the window merger's determination is important.

9To address this, Pattnaik et al. proposed employing the bimodal criterion of GMM-based [14] and normalized mean difference-based approach [15] to adaptively select windows for partitioning pictures and reduce complexity.

10Various adaptive methods have been developed to create a threshold surface for identifying lighting patterns and binarizing each pixel based on this surface.Yanowitz et al. [16] utilized edge information and intensities to establish a threshold surface, but the computational complexity of this approach is significant.To reduce this complexity, Blayvas et al. [17] created a threshold surface using a multiresolution technique.Meanwhile, Yazid and Arof [18] used gradients to develop an inverse threshold surface, which is adjusted for binarizing images with uneven lighting.Cai and Miklavcic [19] proposed precise background surface estimates by considering global and local edge points to address intensity in-homogeneities.Recent studies have compared machine learning techniques for enhancing metamaterial absorbers in terahertz applications and predicting dielectric properties of MoS2 nanofiller-reinforced epoxy composites [20], [21], highlighting their effectiveness in improving material performance.Sahoo et al. [22] enhanced the VGG-19 network for precise moving object detection in complex video scenes.Other works have used machine learning to predict metamaterial microwave absorption and develop THz metamaterial absorbers for biomedical applications [23], [24], [25], showing the potential of these methods in material science and biomedical sensing.He and Schomaker [26] proposed a novel method using SVM to binarize unevenlighting images.Furthermore, Dehuri et al. [27] developed a deep learning-based method to enhance non-uniformity in images by training the network.Some of the applications of image segmentation techniques in challenging areas include the following:

11Cheng et al. [34] developed a Holistic Prototype Activation (HPA) network to address issues with incorrect segmentation borders caused by network architecture or training.The HPA Network acts as a network without training, featuring a Cross-Referenced Decoder (CRD) for multilayer feature aggregation and a Prototype Activation Module (PAM) for creating activation modules for feature mapping.This method is used for video object segmentation, weak-level, and zeroshot tasks.

12Lang et al. [35] introduced Few-shot Segmentation (FSS), a technique designed to identify objects from annotated samples, even if they belong to unseen classes.However, FSS has limitations in dealing with incomplete objects and ambiguous boundaries.To overcome these challenges, a new framework called Divide-and-Conquer Proxies (DCP) has been developed for video object segmentation.This framework divides the segmentation mask into regions with different properties and uses effective mask average pooling.

13Lang et al. [36] presented a theoretically simple and easyto-implement methodology to address a number of enduring problems in few-shot segmentation (FSS).The Progressive Parsing Module and the Commonality Distillation Module, two novel components introduced into the PCNet architecture, have greatly improved segmentation performance.Comprehensive tests using industry-standard benchmarks showed that PCNet outperforms earlier FSS techniques both quantitatively and qualitatively.The results demonstrate that in few-shot segmentation, PCNet sets a new state-of-theart.However, the research does not specifically address the performance of PCNet under non-uniform lighting circumstances, which remains a challenging aspect without direct trials and data analysis.

14The Base and Meta (BAM) architecture for Few-Shot Segmentation (FSS) was developed by Lang et al. [37] to address biases in data or models that are inherent and challenging to mitigate.They introduced an auxiliary branch to serve as a base learner to enhance the traditional FSS framework.The purpose of this auxiliary branch is to identify items belonging to basic classes and does not require segmentation.At the same time, the main FSS framework acts as the meta-learner, focusing on learning to segment new classes.To achieve accurate segmentation predictions, the base learner and meta-learner collaborate to produce coarse segmentation results that are effectively combined.Adjustment factors are used to measure the differences between the support (base class) and query (novel class) image pairings, considering both stylistic and appearance variations, to enhance the robustness of the meta-learner.By considering scene differences and improving segmentation performance, this approach aims to enhance the model's ensemble predictions.The paper does not specifically address the performance of the BAM framework under non-uniform illumination conditions.Due to its dual-branch approach and flexibility in handling variations, the novel design of the BAM framework suggests that it may be somewhat resilient to nonuniform light conditions.However, its actual performance in such scenarios needs to be demonstrated through focused testing.To ensure reliable operation, additional testing and potential adjustments may be necessary if managing uneven lighting is a critical requirement.

15The main challenges of local thresholding approaches are: (i) the initial choice of window size, (ii) the partitioning approach, (iii) computational complexity, and (iv) the use of an appropriate bimodal criteria function.Similarly, for machine learning and deep learning, there is a requirement for very large training image sets.Hence, there is an opportunity for enhancements in uneven light thresholding methods.Building upon previous approaches [20], [24], [25], [26], a new technique has been developed to address uneven lighting issues.In aiming to achieve thresholding of uneven light images, this work makes a three-fold contribution:

161.A method is devised to generate valid training sample points (TSP) from input images with uneven lighting.

172. An efficient and less complex Functional Link Artificial Neural Network (LC-FLANN) model is proposed to estimate the illumination surface.3. Normalization of uneven light through inverse modelling is applied to global thresholding.Therefore, the newly added value to the proposed methods lies in the extraction of more valid sample points for training the FLANN model to estimate illumination surfaces, as well as the normalization of the estimated image for further binarization.

II. RELATED WORK A. LIGHT WEIGHT OBJECT DETECTION MODEL BY USING YOLOv8-LITE

18Yang et al. [32] introduced a lightweight object detection model known as YOLOv8-Lite, which is based on the YOLOv8 framework.This model has been improved using the FastDet structure, TFPN pyramid structure, and CBAM attention mechanism.Traditional object detection models often face challenges such as large parameter sizes and high computational resource consumption, limiting their use on edge devices.

19YOLOv8-Lite is designed for efficient object detection through simplified design and optimized computation.The framework incorporates the FastDet structure with simplified network complexity.The TFPN (Top-Down Feature Pyramid Network) pyramid structure addresses information loss, thus improving object detection accuracy.The TFPN structure combines feature maps from different levels to reduce information loss.The CBAM (Convolution Block Attention Module) is introduced to further enhance the network.This mechanism adaptively adjusts attention within feature maps, enabling the network to more accurately focus on important target areas.This CBAM can be represented as:

20The channel attention map C is calculated as in Equation (1) the sigmoid activation of the average channelwise feature response.

21where C is the channel attention map.H and W are the height and width of the feature map.x i,j is the feature map at the position (i, j).W c represents the weights used for channelwise convolution.σ denotes the sigmoid activation function.

22The spatial attention map S is computed in Equation (2) capturing the spatial dependencies across the feature map.

23where S is the spatial attention map.C is the no of channels in the feature map.x :,:,c cth channel of the feature map.w s is the weight used for spatial-wise convolution.The output feature map Y is obtained by Equation (3) combining the channel and spatial attention maps with the original feature map X , enhancing the model's ability to focus on relevant regions.

24FASTDet structure is designed to improve the accuracy of object detection.Mathematically it can be represented as in Equation ( 4)

25where Y is the feature map, W is the weight matrix, X is the input feature map, b is the bias vector.

26The FastDet structure is proposed to improve the speed and accuracy of the object detection model.The FastDet structure mathematically expressed as in Equation ( 5)

27where w is the weight matrix, b is the bias vector, and x is the input feature map and y is the output feature map expressed as in Equation ( 6)

28the channel shuffling operation denoted as Shuffle(.).Then dividing the feature map into two by splitting operation denoted as Equation ( 7)

29Then the output feature map after convolution in Equation ( 8) and polling is expressed as in Equation ( 9)

30this FastDet structure improve the efficiency and performance of the model.

B. LIGHTWEIGHT TWO-STAGE DETECTION NETWORK FOR REAL TIME OBJECT DETECTION

31In his work, Wang [33] introduced two detection frameworks: RPN (Rapid Region Proposal Network) and Refinement Detection Network (RefinerNet).RPN is responsible for generating high-quality candidate regions, while RefinerNet analyzes these regions in detail to enhance detection accuracy.RPN uses hybrid data to generate high-quality regions, producing a set of bounding boxes, each with a score indicating the likelihood of containing an object.This process can be expressed as. . .

32In Equation ( 10) V refers to voxelized data This network utilizes a series of convolution layers.These layers are process voxelized point cloud data.This voxelization divides continuous point-to-grids with aggregating information in each grid based on mean, maximum values, or a combination of features.

33After the candidate regions are obtained RefinerNet is Refiner detection network is used for the localization 118318 VOLUME 12, 2024 Authorized licensed use limited to the terms of the applicable license agreement with IEEE.Restrictions apply.and classification of targets by deep convolutional neural network.This process mostly enhanced object edges in target regions expressed as in Equation ( 10)

34In Equation ( 11) F ′ is the collection of features extracted from the first stage including spatial and depth features to describe the contents of candidate regions.These features help refine the detection and classification of objects within the specified areas with high accuracy.

C. BINARIZATION OF IMAGES WITH CHANGING LIGHTING

35In particular, image binarization with adaptive window (IBAW) is required for image binarization with adaptive illumination [28].and adaptive averages (IBAA).A set of decision criteria derived from the local properties forms the basis of both algorithms.The visual Odometry (VO) approach is used to iteratively generate an effective window size across each pixel until the decision map remains unchanged.The Bradley algorithm [7] is used in IBAA to achieve the binarization of each pixel throughout the window that is generated using the fusion image obtained from the selection criteria.In contrast, the fusion image is not utilized in IBAW to calculate the window size; rather, the Bradley technique [7] is used to approximate the binarized image.

Algorithm 1: VO Algorithm for Window size Computation:

36For every pixel, there is a unique window W (m, n) with an area of (2W (m, n)+1) 2 .The maximum window size W (m, n) in each pixel is determined by maximizing the window's area to ensure that the edges of the decision map, which provides information about areas that are lighter or darker in the original image, do not exceed the maximum edge number T and the maximum value of window size w max .

37The area A(W (m, n)) is located by binary search, and the integral image of the border matrix (ED) is searched maximize the function.In Equation ( 13), the border matrix is provided.

38Using I ED , a binary search is carried out for the integral image I ED for each coordinate (m, n) to find the ideal window size.

39Algorithm 2: IBAA for image Binarization:

40The Molina algorithm [29] was enhanced with an adaptive window for every pixel in the IBAA algorithm.The IBAA method uses the VO algorithm 1 and takes into account the fused image I F to determine the ideal window size, W (m, n), for each pixel (m, n).The original image I (m, n) and the inversely illuminated image I L (m, n) are combined to generate the fused image I F .The following formula is used to get the inversely illuminated image:

41Step 1: Determine the Image I 's Luminance L using the morphological kernel C, or L = I .C.

42Step 2: entails computing the reflectance (R) at the pixel level, which is the ratio of the matching lighting intensity (L(m, n)) at that pixel to the image intensity (I (m, n)).

43Step 3: Determine the Inverse Luminance by deducting the Luminance value of each pixel from 255, or LI (m, n) = 255 − L(m, n).

44Step 4:In order to acquire the image with inverse lighting, Assign the result to Step 6: The Integral Image H DI of DI is to be computed.

45Step 7: S(H DI , W (m, n), m, n), is the sum of values within a square window in which W (m, n) denotes the window size.Maximizing S(H DI , W (m, n), m, n) yields the decision criteria p (it) .

46is the fused image that we finally compute.

47Step 8: Using the fused image I F and a window size W via algorithm-1, we use the Bradley method [7] to produce a binarized image.

48By applying the Bradley method [7], the IBAW methodology compares a quality function to a threshold value to produce a binarized image.An adaptive window is used as the basis for the quality function calculation.

Algorithm 3: IBAW for Image Binarization:

49To convert images into binary format, the Bradley [7] IBAW algorithm is employed.To do this, apply algorithm 1 to compute a window over each pixel W (m, n).The Decision map was derived from the difference of the quality function DF(m, n) rather than the fused image I F (m, n), in contrast to IBAA.The quality function, which is stated as follows, establishes the distance between two modes m 1 and m 2 from which pixels are placed.

50Step 1: The absolute difference between m 1 and I 1 (m, n) defines the function F 1 (m, n).

51Step 2: The absolute difference between m 2 and I 1 (m, n) defines the function F 2 (m, n).

52Step 3: The difference between the quality functions is calculated as

53Step 4: Determine the integral image H DF that is a part of DF.

54Step 5: A square window's total values can be found using the formula S(H DF , W (m, n), m, n), where W (m, n) indicates the window's size.The decision criterion is obtained by adding the integral image of the difference in quality function S(H DF , W (m, n), m, n) over the window W (m, n).The binarized image based on this choice criterion is obtained using the Bradley technique [7] and the matching window based on the VO algorithm1.

D. FUZZY INCLUSION AND ENTROPY BASED IMAGE BINARIZATION

55A method to determine the threshold for every pixel in a picture was presented by Bogiatzis et al. [11].By dividing 255 by all the x × y nearby pixel values, they produced a fuzzy set M .The fuzzy inclusion between the M and the three images: the gray picture (G), the black image (B), and the white image (W ).W , B, and G have sizes of m × n.All of the elements in W are 1, all of the elements in B are 0, and all of the elements in G are 0.5.It is thought that W is a universal set.Equation ( 14) defines S(A, B) as the fuzzy inclusion function between two sets A and B.

56where the membership functions are denoted by m A (w) and m B (w). Fuzzy inclusion indicators

57provide information.about the brightness, darkness, and the window's grayness.

58Any set M has an entropy e that is determined by Equation (15).

59Based on the values of s 1 and s 2 , eight criteria are defined.Using these criteria, the set M can be classified into one of eight groups.Using linear regression analysis, a function r, i.e., r = r(s 1 , s 2 ), is defined.Equation (16).defines a fuzzy symmetric triangular number in the end.

60Eq. ( 17) is used to determine the T 1 and T 2 given the parameters e, k, and r.

61if s 1 ≤ s 2 then the threshold T = T 1 , else T = T 2 for the p(x, y) pixel.

E. GAUSSIAN MIXTURE MODEL BASED BINARIZATION

62Zhao et al. [8] proposed binarization of images with nonuniform light and noise using a Gaussian Mixture Model (GMM).By utilizing the image mean as a threshold to divide pixels into two classes, the method divides the gray level distribution into two groups, modeling it as a two-class GMM.The optimal parameter vector = [w 1 , w 2 , µ 1 , µ 2 , σ 1 , σ 2 ] is then estimated using the EM algorithm.The image is binarized to suppress impulse and Gaussian noise, using the posterior probability of the pixel, which is evaluated with spatial neighborhood information h jk (as in Equation ( 18)).

63where xj ϵN (x j ) and N (x j ) is the set of neighborhood pixels across a window that is 3 × 3 or 5 × 5, with the center pixel x j .Using Equation ( 19), the pixel's posterior probability x j corresponding to the k th class is calculated.

64where k = 1or2, and the mixture coefficient with constraints is denoted by w k .With 2 k=1 w k = 1, 0 < w k < 1 and 3 × 3 and 5 × 5 is a window of size that contains spatial neighborhood information h ik .Using Equation ( 20), the binarized image C(m, n) is produced.

65Yazid et al. [18] developed a method for binarizing images with non-uniform lighting.Every pixel in the image is subjected to vertical, horizontal, diagonal, and anti-diagonal Prewitt operators as part of the method's gradient-based thresholding surface approach.The edge or border information of the picture is determined by the largest absolute response for each pixel among these four operators.

66Strong edge and weak edge pixels are the two categories for these edge or boundary pixels.The non-border pixels are those with weak edges.Equation ( 21) is used to generate the thresholding surface based on these edge pixels.

67In image processing, binarization involves separating an image into two distinct classes of pixels -black and white.

68The thresholding surface T s (i, j) is used to accomplish this task.Additionally, there are eight primary surfaces P m (i, j), in which m = 1to8 created through eight passes in different directions: LRTB, TBLR, RLBT , BTRL, RLTB, TBRL, LRBT , and BTLR.Here, L, R, T , and B refer to left, right, top, and bottom, respectively.A constant value k o is added to or removed from the threshold surface T s (i, j) intensities to modify the inverse threshold surface's position concerning the original image I o (i, j) for image binarization.The threshold surface may 118320 VOLUME 12, 2024 Authorized licensed use limited to the terms of the applicable license agreement with IEEE.Restrictions apply.Equation ( 22) defines the value of k, denoted as k o , which represents the optimal value of k, which is obtained when the adjusted thresholding surface T s (i, j) + k and the pixels of the original input image I o (i, j) are added together, the sum of the absolute differences between them is at its minimum.To distinguish between backgrounds and objects, the threshold surface assigns a distinct threshold value to each pixel.Next, we apply Eq. ( 22) to binarize the original image Io.

III. MATERIALS AND METHODS

69Due to the overlapping of the gray level distributions of object and background, it is difficult to binarize any uneven light images using global thresholding.Further, the constraint of local thresholding approaches are (i)initial choice of window size, (ii) Computational complexity, (iii) optimal choice of bimodal criteria function, and (iv) Optimal partitioning approaches, for any uneven lighting image binarization.

70To Compared to multi-layer neural networks, the Functional Link Artificial Neural Network (FLANN) has a simpler design and requires less computing power.FLANN is suited for real-time applications because of its straightforward architecture, making it simpler to develop and using less processing power.Functional expansions of the input features, such as polynomials, trigonometric functions, or other non-linear transformations, are used by FLANN to increase the representative capability of a single-layer network.This enhances the network's capacity to tackle challenging issues by enabling FLANN to represent nonlinear relationships in the data without additional layers.For applications that require quick training and adaptation, FLANN's speedier training process resulting from the lack of several hidden layers is a benefit.The utilization of straightforward algorithms for weight modification and the reduction of parameters contribute to the efficiency of the learning process.Functional expansions allow FLANN to reduce the number of weights needed to achieve improved generalization, which lowers the possibility of overfittingespecially on smaller datasets.

71The network is better able to identify the underlying patterns in the data thanks to the functional expansion, which functions as a type of regularization.FLANN is a flexible technique that can be used in many domains because it can be used for different kinds of data and challenges.It may readily adjust to various problem specifications by selecting the relevant functional extensions.Because FLANN can detect non-linear trends, it is used to predict stock prices, exchange rates, and other financial time series data.It uses trend analysis on previous data to forecast atmospheric conditions and weather patterns.FLANN is used to extract and categorize relevant features for tasks including object detection, video analysis, and picture recognition.

72FLANN is a superior model than the other network models due to its lower complexity.Unlike conventional methods, FLANN can accurately estimate the illumination surface by expanding features to a higher-dimensional space, which improves input discrimination.Its single-layer structure results in reduced weight updating time compared to convolutional or deep learning network models.The normalized coordinates of the sample points are used to train the FLANN model.Based on the discrepancy between the sample point's actual and anticipated gray values, the weights are changed.All of the image's coordinates' lighting is calculated after the FLANN has been trained.The nonuniform lighting is neutralized once the illumination is estimated, enabling the use of global thresholding for the separation of objects from backgrounds.Consequently, the FLANN model is preferred for estimating the illumination surface more accurately and efficiently, with less time and complexity than other models.

73In this work, the non-uniform lighting surface of an image is estimated using the FLANN model.Global thresholding is further used to neutralize the non-uniform illumination to binaries the image.On the other hand, either object points or background points must be extracted to estimate the nonuniform illumination surface.Extracting valid sample points from an image with non-uniform lighting, either from the background or the foreground region, is an extremely difficult process.To extract the legitimate taring sample points, a twostage method i.e. the dual thresholding technique and the edge-based approach is devised in this study.

74The block diagram for the proposed uneven lighting image thresholding is shown in Fig. 1.To help estimate the illumination surface, the proposed approach in Fig. 1 extracts valid training sample points (TSP) using a multi-step process.These sample points correspond to either the two-class image's background or object pixels.In the first stage, a twostep thresholding is utilized to produce more valid sample points.The two-stage Otsu's thresholding method extracts the object sample points more successfully in non-uniform lighting situations.One threshold may not be sufficient to properly partition the image's object region in scenarios with different textures or illumination.In the second step, the edgebased method is employed to extract the legitimate sample points from the object regions.The object's boundary edges are extracted using the edge-based technique.The distribution of the original edge point pixels is subjected to a global threshold in order to extract various object sample points from the object boundary.The dual threshold and edge-based approaches' valid sample points work together to aid in the collection of sample points throughout the object region.

A. EXTRACTION OF APPROPRIATE TSP

75To accurately estimate the illumination surface, valid training sample points (TSP) are required.The images used for binarization are two-class images.As a result, it is crucial to choose pixels only either the background area or the object to serve as the TSP.The proposed FLANN model uses the object (foreground) region points as the TSP for training.Considering the quantity of reliable training sample points, a two-step method has been developed.Two-step thresholding is used in the first stage, and an edge-based technique is used in the second stage to extract valid training sample points.

1) TWO-STEP THRESHOLDING (TST) METHODOLOGY

76During the first step of the TST process, binarization of the uneven light gray image I (x, y) is obtained using Otsu's thresholding.This method is based on the assumption that the image contains a brighter object than the background.The global threshold value, is represented as T 1 .Next, every pixel having a gray value higher than T 1 are assembled into a set S.

77Once all the elements in S have been taken into account, a histogram h g is produced, with a gray level range of T 1 ≤ g ≤ 255.The threshold T 2 is then assessed by applying Otsu's thresholding criterion to h g .The pixels in the image I (x, y) that have a value greater than T 2 are leveled as the first set of TSP, which is S 0 1 .Fig. 2(a) represents the original images with uneven lighting, and Fig. 2(b), is the histogram of Fig. 2(a) with the evaluated thresholds T 1 and T 2 .Fig. 2(c) shows the binarized image of Fig. 2(a) with the threshold T 1 .However, it is observed that not all white pixels belong to the object only.Most of the background pixels are also detected as object pixels.

78The binary image with threshold T 2 is shown in Fig. 2(d).Here, all the white pixels belong to only the object class, which means that this thresholding method has successfully identified the object in the image.

79The valid TSP in the 1st step are considered as set S 0 1 as follows

80To reduce the impact of outliers in the training sample points, a dual threshold is utilized.However, when observing Figure 2(c), it is evident that the white area (TSP)specifically S 0 1 -is mostly concentrated towards the object's right side.This can cause the illumination surface to be estimated incorrectly.An edge-based technique in its second stage is designed to tackle this problem.This approach is used to collect extra observation points made just from the object region's edge, which results in a more accurate estimation of the illumination surface.

81118322 VOLUME 12, 2024 Authorized licensed use limited to the terms of the applicable license agreement with IEEE.Restrictions apply.

2) EDGE BASED (EB)APPROACH

82The first step in detecting edges of the gray image I is to extract edge points by applying the gradient-based operator i.e Sobel edge operator.The Sobel operator calculates an image's intensity function's gradient approximately to detect edges in an image.Two 3 × 3 masks, M h and M v , are used in Equation ( 26) to identify the horizontal and vertical derivative approximations.After convolving these masks with the input image, two gradient images, G h and G v , are obtained.,as shown in Equation (27).

83The magnitude of the gradient approximation is calculated using the formula

84).This value is used to obtain the edge image I E by identifying those points where the gradient of the image is greater than a certain threshold T .In other words, I E is obtained as max(I M , T ), where T is considered to be 100 based on the simulation results.

85In Figure 3(a), the Sobel edge detector is used to detect edges that cross the borders of an object.Since not every edge point can be considered an accurate sample point, these edge points indicate the gap between an object and the background.Every edge pixel in the object region is given a 5 × 5 window, It is employed to retrieve just valid sample points.when the window has more than five non-zero values, or white pixels, it is considered that the object's area and the background areas are almost equal.Therefore, all pixel values in the window at the same position on the input image are binarized applying global thresholding by Otsu.Based on the optimal threshold T 0 , the pixel values in the window greater than T 0 are regarded as accurate sample points and constitute a part of the set S 0 2 .The process of generating all the sample points in set S 0 2 involves applying the same procedure to all the edge pixels.The TSP (Training Sample Point) of S 0 2 are highlighted in white color in Fig. 3(b).The final TSP set S 0 is defined as the union of S 0 1 and S 0 2 as shown in Fig. 3(c).It can be seen from Fig. 3(c), that the number of training sample points has grown dramatically and now encompasses nearly the whole object region.Fig. 4(a), (b), and (c) present the three-dimensional plot of the TSP obtained by combining two-step thresholding and an edge-based approach.As can be seen from Fig. 4(c), the sample points belong to the object region only and are well-distributed across the object area in the image.This means that the estimation of the illumination surface of the image will be highly accurate.

B. PROPOSED LC-FLANN BASED FRAMEWORK FOR ILLUMINATION SURFACE ESTIMATION

86The proposed FLANN model is shown in Fig. 5.The objective is to train the FLANN model using the Section A recognized valid TSP is used to estimate the illumination surface.FLANN model, increases the dimensionality to get the space and discriminate the non linear input.Also in FLANN, due to its single layer, the number of weights and training time decreases.In the proposed FLANN Model, the input is expanded by trigonometric expansion, which produce more compact representation by using the Fourier basis function.In this expansion, sine and cosine functions are used to decrease the computation complexity.The inputs to the FLANN model are the coordinates of each sample point belongs to set S. The input data to FLANN is two dimensional pattern S i = [x i y i ] T , where x i , y i are the normalized value of coordinate of sample point S i ∈ S. The intensity of the object point is considered as desired data output 'd ′ i , which is the normalized intensity value of the sample point S i ∈ S. The coordinate x i , and y i and the intensity d i of sample points are normalized values.A simple FLANN model is constructed with a pattern of two features, considering the i th sample point, the input vector X (i) is defined as

87This i th input sample is mapped to high dimensional space by functional expansion like trigonometric expansion as follows:

88where i, is the i th input vector is functionally expanded.The sum of weighted components of the expanded input is represented as ϕ(i, k) = φ T i .wwhere w is the weight vector w = [w 1 , w 2 , ..w M ].Here M is the total no of expanded term.ϕ(i, k) is represented as

89This input is passed through a sigmoid activation function to produce the model output with a probability of 0 and 1.To improve the linearity, sigmoid activation function is used at the output of the model as follows.

90where i is the i th training sample point and k is the k th iteration.The error term of the model, e(i, k), is defined as

91d(i, k) is the estimated intensity value of i th sample points at the output of the activation function, at the k th epoch.The weights are updated by LMS algorithm as in (34) after each epoch in the training phase as follows:

92where, m = 1, 2, 3, 4, 5, 6, and 7.The change of weight at k th iteration w m (k) is calculated as given in ( 35)

93where, φ m (i) is the m th expanded value with i th input pattern and δ(i, k) is the learning rate defined as

94Training the model with all training sample points once is one iteration.The objective is to train the model with the same training sample points iteratively to minimize the error e.Once the error does not change, the model is trained with optimal weights.After the convergence of the weights, the illumination intensity of all pixels of the uneven light image is estimated using the trained LC-FLANN The image I with uneven lighting is normalized using the estimated illumination surface I s in (37).

95In Equation (37), g (max) represents the maximum intensity value of the input gray image I (x, y), and g s(max) represents the maximum intensity value of the estimated illumination surface image I s (x, y).Binarization is often a critical step in various image processing tasks, especially when the goal is to distinguish objects from the background.Depending on the specific requirements of the task and the characteristics of the images, other methods might be used as alternatives.However, in many cases, binarization provides a simple and effective way to achieve the desired outcome.To convert the image to a binary format, Otsu's thresholding method is applied on I N .Fig. 7(b) displays the result of Otsu's global thresholding approach on the binarized image from Fig. 7(a).In Otsu's thresholding, the optimal threshold T opt is obtained by minimizing within-class variance σ 2 wi and maximizing between-class variance σ 2

96Bi .The σ 2 wi and σ 2 Bi at a threshold t are defined as

97where, w B (t) and w F (t) represent weight of background and foreground represented as w B (t) = t i=1 p i , and w F (t) = L i=t+1 p i , where p i is the probability distribution of gray level i = [1, 2, . . .L] with, L = 255.Similarly the σ 2 Bi (t) is represented as

98where µ B (t) and µ F (t) are the mean value of background and foreground pixels based on threshold t represented as µ B = t i=1 iP i and µ F = L i=t+1 iP i .The variance of background and foreground pixels are represented as.σ

99× p i .The parameters w B (t) and w F (t), µ B (t) and µ F (t) are the function of the threshold t.Therefore the optimal threshold T opt is evaluated as follows:

100Finally the binarized image I B (x, y) is obtained as

101Some sample uneven light images with their estimated 2D illumination surface image and corresponding illumination normalized images generated using the proposed approach are placed in Fig. 8 to Fig. 11.The avg. convergence plot of the proposed Illumination surface estimation is shown in Fig. 12.The convergence plot is obtained by considering the average convergence plot of Mean square error (MSE) for all sample images, by taking 1000 iterations for each image.It is observed that this plot is converged near about 600 iterations.

IV. EXPERIMENTS AND EVALUATION

102To validate the performance of a suggested method, five different approaches are used.These include Niblack [6], Bogiazis et al. [11], Yazid et al. [18], Cai and Miklavcic [19], and Zhao et al. [8].These approaches are simulated on a computer with an Intel Core i5, 4MB L2 cache, 8 GB RAM, and a 2.4 GHz processor.21 test images with varying degrees of uneven lighting are used to confirm each of these techniques.Ten of the images are sourced from the Berkeley database [31] and Weizmann [30], while eleven images are collected from various online sources.The original test images are presented in Fig. 13 and 14 along with the ground truth and binarized results.Fig. 13 and 14's first and second columns display the original test images and corresponding ground truth (GT) images.Similarly, the binarized images in columns three through eight are correspondingly produced using the suggested method and the landmark methods mentioned above.In Fig. 13, the objects and background are blended in images that were processed using the Niblack and Bogiatzis techniques, leaving only the outer edges visible.The highlighted areas of the Yazid method's objects are improperly segmented, except the L-image and Synth-1 images.However, pics like the coin, Synth1, Crane, Synth-4, thread, and hand reveal backdrop that is incorrectly categorized as an object in the Cai technique.According to the Zhao approach, the majority of the object pixels in images like rice, and synth-1, are accurately segmented in the suggested approach.

103Both quantitative and qualitative metrics are used to evaluate the performance.Based on the visual performance, the qualitative performance was assessed.On the other hand, Recall(R e ), Precision(P r ), F-measure(F 1 ), Jaccard Index(JI ), and the percentage of misclassification error (PME) are taken into consideration while evaluating the quantitative measures.Images of the ground reality are crucial for assessing quantitative metrics.The databases contain the Berkeley and Weizmann ground truths.Nevertheless, the real-world test images on the internet are created manually.

104The Precision measure (P r ) measure is defined as

105where T p is the true positive and F p is the false positive.The Recall measure R e is defined as

106where, F N is the false Negative.The combination of the P r and R e measures is known as the F-Measure (F1).

107The JI measure is defined as

108118328 VOLUME 12, 2024 Authorized licensed use limited to the terms of the applicable license agreement with IEEE.Restrictions apply.where the corresponding ground truth image is G T , and the binarized image is SI .The (PME) measure defined as

109where F g and B g denote the set of foreground and background pixels in the ground truth image and F s and B s represent the set of foreground and background pixels in the binarized image respectively.The qualitative performance is evaluated as in Table 1, which shows the degree of visual perspective similarity between the binarized image and the ground truth test images in Fig. 13 and 14.It is observed from table 1 that the two methods Niblack et al. [6] and Bogiazis et al. [11] are satisfactory on one image like a fingerprint.However the performance of Yazid et al. [18] and Cai and Miklavcic [19] is satisfactory on 40% of test images in Fig. 13 and 60% in Fig. 14.The performance of Zhao et al. [8] is 40% in both the set of test images in Fig. 13 and Fig. 14.However, the proposed approach outperformed in most of the test images in Fig. 13 and Fig. 14.As a result, the suggested strategy is the only one among all of them that can binarize any variation of uneven light image.Fig. 15 displays the average P r , R e , F 1 , and JI score for each of these five approaches using the suggested FLANNbased methodology.It is noted that the suggested FLANN technique performs best out of all the methodologies taken into consideration for the validation and is consistent in every measure.To further verify the effectiveness of each of these approaches, quantitative metrics such as P r , R e , F 1 , JI , PME, and time complexity are employed.The P r , R e , F 1 , JI , and PME measurements for each of these approaches are displayed, correspondingly, on all 21 test pictures in Tables 2, 3, 4, 5, and 6.These methods on all 21 test images.

110Table 2 shows that for the majority of the images in the suggested technique with an average, the P r value is high.

111118330 VOLUME 12, 2024 Authorized licensed use limited to the terms of the applicable license agreement with IEEE.Restrictions apply.The value of P r score of 0.98.The Yazid technique [18] has the third-highest average P r , at 0.87, while Cai and Miklavcic [19] and Zhao [8] have the second-highest average, at 0.93.The high value of P r suggests that there are more Authorized licensed use limited to the terms of the applicable license agreement with IEEE.Restrictions apply.method has the highest score of 0.95.Consequently, when comparing the average R e , the amount of false negatives in the suggested method is nearly negligible.It has been noted that the suggested approach has the lowest false positive and false negative values and the highest true positive value.

112Likewise, Table 4 presents the F1 measure, which is a combination of R e and P r .The average for the suggested method is F 1 is 0.97.The average for Cai is F 1 is 0.93, whereas the average for Yazid and Zhao is F 1 is 0.88.The similarity metric between the segmented image and its ground truth is called the Jaccard Index (JI).Table 5 demonstrates that, when compared to other methods, the suggested technique has the highest JI measure of 0.95.Fig. 15 displays the average P r , R e , F 1 , and JI score for each of these five approaches using the suggested FLANNbased methodology.It is noted that the proposed FLANN technique performs best out of all the methodologies taken into consideration for the validation and is consistent in every measure.Comparably, in Table 6 the PME measure shows suggested approach has the least amount of misclassification (PME), of 1.42%.However, PME of 4% and 6%, respectively, are found in the Cai and Zhao et al. approaches.Fig. 16 displays the average PME of the five approaches as well as the suggested FLANN method.When evaluating both qualitative and quantitative metrics, the suggested method performed better than all state-of-the-art techniques on every variation of example images with non-uniform illumination.It is observed from Table 7 shows that the proposed method has the highest average JI measure, of 0.95.The methods of Cai et al. [19] and Yazid et al. [18] rank second and third, respectively, with average JI scores of 0.89 and 0.84.Similarly, average F1-measure for suggested method is of 0.97, and Cai and Miklavcic [19] and Zhao et al. [8] is having the second and third highest of 0.93 and 0.88.For all types of uneven images, the proposed approach performs better than the other approaches when taking into account both qualitative and quantitative metrics.Table 8 computes the CPU time in order to assess the methods' complexity further.The average calculation time for the suggested approach is 18.8 seconds, the second-lowest average computation time is 0.37 seconds for the Cai et al. method, and the lowest average computation time is 0.22 seconds for the Niblack [6] method.On the other hand, the JI and F 1 measures in the Niblack technique are located in the 5 th position.In terms of F 1 and JI metrics, the Cai and Miklavcic [19] is ranked second.The suggested approach, however, performs best in terms of averages for P r , R e , F 1 , JI , and PME.

113In Table 9, a study was conducted to compare the specific impacts of different modules and their combined performance on various sample images through an ablation experimental approach.The comparison involved two modules: TST (Two Stage Thresholding) or dual threshold method, and EB (Edge Based) method, along with the performance of the combined Dual threshold and Edge based method.The evaluation included precision (Pr), recall (Re), F-measure (F1), Jaccard Index (JI), percentage of misclassification error (PME), and time complexity for database images such as Berkeley and Weizmann database images, as well as sample internet images.

114In the table, the performance values for Precision (Pr), Recall (Re), F-measure (F), and Jaccard Index (JI) are of 0.98, 0.96, 0.97, and 0.95, respectively, for both the database and sample images.Similarly, the percentage of misclassification error(PME) of 1.3% for the database images and 1.52% for the sample internet images.Overall, the combined effect of the two modules results in an average PME is of 1.42%, which is better than the individual impacts of the TST and EB modules.Subsequently, the combined effect of two modules TST and EB-based method for extraction of valid sample point generation increases the time complexity compared to the individual impact.However, with the time complexities, the percentage of misclassification for those images are in the range of 1%-2%.

115In some of the failure cases of the proposed method like: for some images such as synth-2, crane, thread, hand, and ninetyeight, the percentage of misclassification is in the range of 2%-3% as in Table.6 quantitatively.However, qualitatively also these images are not accurate w.r.t to ground truth as discussed in Table 1.Also from the ablation study of the experiment of database and sample images of Table 9 due to the combined effect of two modules TST and EB-based methods, the time complexity for database and sample images is in the range of 15-20sec.

V. CONCLUSION

116In this study, A quick and effective method for images with variable illumination conditions, local/adaptive thresholding computes a distinct threshold for each pixel based on its local vicinity.Nonetheless, the following are the main difficulties with local/adaptive thresholding methods: (i) It is important to choose the ideal window or sub-image size.A window that is too big might not be able to catch local differences, while a window that is too narrow will be more susceptible to noise.(ii) Because local/adaptive thresholding relies on computations based on pixels or sub-images, it is very sophisticated and memory-intensive.(iii) The presence of both background and object regions in every window or sub-image is necessary to prevent significant misclassification errors during local thresholding.(iv) Compared to global approaches, implementing local thresholding algorithms might be more complicated, presenting difficulties for developers and needing more sophisticated programming abilities.(v)The specific environmental characteristics of the image, such as differences in lighting and texture, can have a significant impact on how effective local thresholding parameters are.The goal is to normalize uneven illumination situations in order to improve the accuracy of global thresholding.By utilizing the FLANN model to normalize the illumination surface, the suggested approach lessens complexity and boosts efficiency in order to overcome these difficulties.Acquiring legitimate training sample points (TSP) is essential for training models in an efficient manner.Better training and more accurate segmentation results are guaranteed by the suggested approach, which improves the extraction process.The suggested approach addresses these issues and enhances image binarization accuracy and dependability in a range of lighting scenarios.

117The suggested method is found to have the lowest F1 score of 0.97 and lowest PME on average, 1.42%, average JI score of 0.95, and an average time for computation of 18.8 seconds.To shorten the computation time at the sample point creation, parallel processing and FLANN functional expansion part parallelization are recommended.

118by multiplying the reflectance image R(m, n) by the light intensity image LI (m, n).Step 5: The difference image DI is computed as follows: DI = I − I L .

FIGURE 1 .

119FIGURE 1. Block schematic of the suggested method for thresholding images with nonuniform lighting.

120improve the performance of uneven light image binarization, the FLANN Model-based estimation of illumination surface neutralizes nonuniformity and increases the global thresholding's effectiveness.The proposed approach consists of three steps, which are outlined below (i) the extraction of training sample points(TSP) that are valid; (ii) the Development of a FLANN model for estimation of the illumination surface and (iii) Illumination normalization for global thresholding.

FIGURE 2 .

121FIGURE 2. a)Original non-uniform lighting block image b) Histogram of Block image with thresholds T 1 and T 2 (c) Binarize Block image with T 1 (d) Binarize Block image with T 2 .

FIGURE 3 .

122FIGURE 3. a) Edge image (b) Edge based observation points (c) The set S 0 = S 0 1 ∪ S 0 2 both segmented image considering histogram and edge.

FIGURE 4 .

123FIGURE 4. a) 3D image detected observation points with Edge b) 3D image with dual threshold Edge (c) 3D image of the combination of edge based and dual threshold based approach.

Fig. 7 (

124a) displays the illumination normalized image I N of I , while Fig. 7(b) shows the 3D illumination surface of I N .The normalized image I N appears to have a nearly uniform illumination variation, as shown in Fig. 7(a) and 7(b).

FIGURE 5 .

125FIGURE 5. Proposed LC-FLANN framework for illumination surface estimation.

FIGURE 6 .

126FIGURE 6. a) Estimated 2D illumination surface image I S b) Estimated 3D Illumination plane.

FIGURE 7 .

127FIGURE 7. a) Illumination normalized image I N b) 3D Intensity balanced surface c) Binarized Image.

FIGURE 8 .FIGURE 9 .

128FIGURE 8. a) Input Synth-4 image b) Estimated 2D illumination surface image I S (c) Illumination normalized image I N .

FIGURE 11 .

129FIGURE 11. a) Input flower image b) Estimated 2D illumination surface image I S (c) Illumination normalized image I N .

FIGURE 12 .

130FIGURE 12. convergence plot of MSE.

FIGURE 13 .

131FIGURE 13.Segmentation results of Internet images: Col 1: Original uneven light images; Col 2: GT images; Col 3: to Col 8: are the binarized images of Niblack[6], Bogiatzis[11], Yazid[18], Cai and Miklavcic[19], Zhao[8], and Proposed Method respectively.

FIGURE 14 .

132FIGURE 14. Segmentation results of dataset images: Col 1: Original uneven light images; Col 2: GT images; The binarized images of Niblack [6],Bogiatzis[11], Yazid[18], Cai and Miklavcic[19], Zhao[8], and the Proposed Method are the outputs, corresponding to Cols 3 through Col 8.

FIGURE 15 .

133FIGURE 15.Average performace of P r , R e , F 1, and JI.

FIGURE 16 .

134FIGURE 16.AVG percentage of misclassification error PME .

135Maximum Intensity of Input Image.hiProbability of Occurrence of Gray Level.

136g(max)

TABLE 1 .

137Visual perspective based qualitative measure.

TABLE 2 .

138Perfermance measure precision (P r ).

TABLE 3 .

139Performance measure recall (R e ).

TABLE 4 .

140Performace measure F-Measure (F 1 ).

TABLE 5 .

141Performance measure jaccard index (JI).truepositivesandfewer false positives.The Niblack approach has the highest average when taking into account the R e metric of 0.97 as shown in Table3.The proposed technique has the second highest 0.96, whereas the Yazid and Cai

TABLE 6 .

142Performance measure (PME ).

TABLE 7 .

143Average performance for different approach.

TABLE 8 .

144Computation time in seconds.

TABLE 9 .

145Ablation experiment results on database images and sample images.

참고문헌 34건

  1. An introduction to digital image processing 1986
  2. A new method for image segmentation Computer Vision Graphics and Image Processing · Academic Press · 1989 10.1016/s0734-189x(89)80017-9
  3. Efficient computation of adaptive threshold surfaces for image binarization Pattern Recognition · Elsevier BV · 2005 10.1016/j.patcog.2005.08.011
  4. Gradient based adaptive thresholding Journal of Visual Communication and Image Representation · Elsevier BV · 2013 10.1016/j.jvcir.2013.06.001
  5. Thresholding technique with adaptive window selection for uneven lighting image Pattern Recognition Letters · Elsevier BV · 2004 10.1016/j.patrec.2004.09.035
  6. Surface fitting for individual image thresholding and beyond IET Image Processing · Institution of Engineering and Technology · 2013 10.1049/iet-ipr.2012.0690
  7. Adaptive Thresholding using the Integral Image Journal of Graphics Tools · Taylor & Francis · 2007 10.1080/2151237x.2007.10129236
  8. Parallel genetic algorithm based adaptive thresholding for image segmentation under uneven lighting conditions 2010 10.1109/icsmc.2010.5642269
  9. Detection of Earth Surface Cracks Using Parallel Genetic Algorithm Based Thresholding International Conference on Advances in Computing, Control, and Telecommunication Technologies · 2009 10.1109/act.2009.12
  10. A Threshold Selection Method from Gray-Level Histograms IEEE Transactions on Systems Man and Cybernetics · Institute of Electrical and Electronics Engineers · 1979 10.1109/tsmc.1979.4310076
  11. An improved swarm optimized functional link artificial neural network (ISO-FLANN) for classification Journal of Systems and Software · Elsevier BV · 2012 10.1016/j.jss.2012.01.025
  12. A New Iterative Triclass Thresholding Technique in Image Segmentation IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2014 10.1109/tip.2014.2298981
  13. A robust 2D Otsu’s thresholding method in image segmentation Journal of Visual Communication and Image Representation · Elsevier BV · 2016 10.1016/j.jvcir.2016.10.013
  14. Algoritmos de Binarización Robusta de Imágenes con Iluminación No Uniforme Revista Iberoamericana de Automática e Informática Industrial RIAI · Technical University of Valencia · 2017 10.4995/riai.2017.8847
  15. An image thresholding approach based on Gaussian mixture model Pattern Analysis and Applications · Springer Science+Business Media · 2019 10.1007/s10044-018-00769-w
  16. DeepOtsu: Document enhancement and binarization using iterative deep learning Pattern Recognition · Elsevier BV · 2019 10.1016/j.patcog.2019.01.025
  17. Local thresholding of degraded or unevenly illuminated documents using fuzzy inclusion and entropy measures Evolving Systems · Springer Science+Business Media · 2019 10.1007/s12530-018-09262-5
  18. Improved Artificial Bee Colony Algorithm and Its Application to Fundus Retinal Blood Vessel Image Binarization IEEE Access · Institute of Electrical and Electronics Engineers · 2020 10.1109/access.2020.3001299
  19. Robust 2D Otsu’s Algorithm for Uneven Illumination Image Segmentation Computational Intelligence and Neuroscience · Hindawi Publishing Corporation · 2020 10.1155/2020/5047976
  20. Adaptive Window Selection for Non-uniform Lighting Image Thresholding ELCVIA Electronic Letters on Computer Vision and Image Analysis · Computer Vision Center Press · 2021 10.5565/rev/elcvia.1301
  21. GMM Based Adaptive Thresholding for Uneven Lighting Image Binarization Journal of Signal Processing Systems · Springer Science+Business Media · 2021 10.1007/s11265-021-01700-z
  22. Binarization of images with variable lighting using adaptive windows Signal Image and Video Processing · Springer Science+Business Media · 2022 10.1007/s11760-022-02150-1
  23. Holistic Prototype Activation for Few-Shot Segmentation IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2022 10.1109/tpami.2022.3193587
  24. Machine learning assisted hepta band THz metamaterial absorber for biomedical applications Scientific Reports · Nature Portfolio · 2023 10.1038/s41598-023-29024-x
  25. Fast segmentation algorithm of PCB image using 2D OTSU improved by adaptive genetic algorithm and integral image Journal of Real-Time Image Processing · Springer Science+Business Media · 2023 10.1007/s11554-023-01272-0
  26. Base and Meta: A New Perspective on Few-Shot Segmentation IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2023 10.1109/tpami.2023.3265865
  27. Progressive Parsing and Commonality Distillation for Few-Shot Remote Sensing Segmentation IEEE Transactions on Geoscience and Remote Sensing · Institute of Electrical and Electronics Engineers · 2023 10.1109/tgrs.2023.3286183
  28. Few-Shot Segmentation via Divide-and-Conquer Proxies International Journal of Computer Vision · Springer Science+Business Media · 2023 10.1007/s11263-023-01886-8
  29. Machine Learning Techniques for Predicting Metamaterial Microwave Absorption Performance: A Comparison IEEE Access · Institute of Electrical and Electronics Engineers · 2023 10.1109/access.2023.3332731
  30. Comparative analysis of machine learning models for predicting dielectric properties in MoS2 nanofiller-reinforced epoxy composites Ain Shams Engineering Journal · Elsevier BV · 2024 10.1016/j.asej.2024.102754
  31. An Improved VGG-19 Network Induced Enhanced Feature Pooling for Precise Moving Object Detection in Complex Video Scenes IEEE Access · Institute of Electrical and Electronics Engineers · 2024 10.1109/access.2024.3381612
  32. Comparative analysis of machine learning techniques for metamaterial absorber performance in terahertz applications Alexandria Engineering Journal · Elsevier BV · 2024 10.1016/j.aej.2024.05.111
  33. Real-Time Object Detection Using a Lightweight Two-Stage Detection Network with Efficient Data Representation ICCK Transactions on Emerging Topics in Artificial Intelligence · 2024 10.62762/tetai.2024.320179
  34. YOLOv8-Lite: A Lightweight Object Detection Model for Real-time Autonomous Driving Systems ICCK Transactions on Emerging Topics in Artificial Intelligence · 2024 10.62762/tetai.2024.894227