“…The Mamdani type fuzzy inference system problem to identify a sick leave is modeled after the RGB value indicators, each one having 3 input sets (R,G,B color components) and the pixel status output set [23]: the first model has nine rules set representing the equivalence of a sane or ill pixel correlating it to the system's input and output, there are three triangular membership functions in the input sets established to depict low, medium, and high intensities for each RGB component as shown in Figure 3(a), the second system is defined by 17 rules and six membership functions in the input sets corresponding to the value intensity in the RGB scale (low, low-mid, mid-mid. Mid-high, high) as shown in Figure 3 As a general rule, fuzzy inference systems are characterized by their high interpretability and low accuracy, hence, it was necessary to implement genetic [24] and Quasi-Newton BFGS [25] optimization algorithms to every model to adjust the membership functions for input and output sets so an effective logical correlation with the system rules and inference system could be established among all four models developed. This led to a closer identification of the pixel status: being classified as ill when the value tends to 0.3884 and sane if the value sits around 0.62.…”