“…Therefore, the NIR channel was used to refine the image's contrast. The HE method enhances the image by distributing the image brightness levels equally across the brightness scale [1], [11], [15], [21], [44], [53], [54], [72], [94], [119], [136], [140], [145], [150], [159], [168], [169], [172], [175]. Furthermore, the intensity of the contrast enhancement method is measured through the root mean square (RMS), where the higher the RMS value, the better the contrast image [22], [35], [48], [178]- [181].…”