Endoscopy is a crucial tool for diagnosing digestive tract diseases—colon cancer and polyps using a camera with LED lighting, but often results in low-quality images with poor contrast and luminance. This study evaluates the performance of two contrast-based image quality enhancement—Contrast Limited Adaptive Histogram Equalization (CLAHE) and Improved Adaptive Gamma Correction with Weighting Distribution (IAGCWD)—along with various color space transformations (RGB, HSV, YCbCr, CIELAB, Grayscale) in deep learning-based digestive tract diseases detection system. The detection system using EfficientNetV2S model and Quadratic Weighted Kappa (QWK) loss function to obtain the balance of prediction results for each class. The experiment shows that CLAHE is able to achieve 79% accuracy which is superior in clarifying important information in endoscopy images. CLAHE performs well due to its ability to reduce noise and enhance contrast. The classification model with HSV and CLAHE on KVASIR is able to recognize all classes well. RGB, HSV, and YCbCr color spaces have stable performance in most tests. This study contributes insights for enhancing endoscopic image quality to support both computer-aided and clinical diagnosis.
Copyrights © 2025