نهج جديد لتعزيز الجداريات باستخدام MSR CAB واستخراج الفجوات من اللوحات الجدارية القديمة باستخدام الغابة العشوائية A novel approach to mural enhancement using MSR CAB and lacuna extraction from ancient mural paintings using random forest

شارك:
المجلة: Scientific Reports، المجلد: 16، العدد: 1
DOI: https://doi.org/10.1038/s41598-026-36973-6
PMID: https://pubmed.ncbi.nlm.nih.gov/41735343
تاريخ النشر: 2026-02-24
المؤلف: Adel Nasri وآخرون
الموضوع الرئيسي: تحليل مواد التراث الثقافي

نظرة عامة

تقدم هذه الورقة البحثية طريقة آلية جديدة لاستخراج الفجوات من صور RGB للجداريات القديمة، وبشكل خاص تلك الموجودة في قصر باي، الجزائر. تستخدم الطريقة مصنف Random Forest بالتزامن مع تقنية معالجة مسبقة جديدة تُسمى Multi-Scale Retinex with Contrast-Limited Adaptive Histogram Equalization (MSR-CAB). تعزز هذه الطريقة من جودة الصورة من خلال معالجة التحديات مثل ظروف الإضاءة المنخفضة، والغبار، والإضاءة غير المتساوية مع الحفاظ على الأصالة التاريخية للجداريات. يستخدم مصنف Random Forest، الذي هو غير معلمي وحساس للتكلفة، ميزات مثل شدة RGB، والتباين المحلي، وحجم التدرج لإدارة عدم توازن الفئات بشكل فعال وتحقيق تصنيف قوي على مستوى البكسل.

تشير النتائج التجريبية إلى أن الطريقة المقترحة تظهر دقة عالية، ووضوح، واسترجاع، مما يجعلها أداة قيمة للمؤسسات التراثية في جهود التوثيق والحفاظ. تتضمن الدراسة أيضًا تحليلًا مقارنًا مع مجموعات بيانات إضافية من كهوف موغاو، ومتحف المتروبوليتان للفنون، ومجموعة بيانات الأمراض النباتية العامة، مما يؤكد قابلية تطبيق الطريقة عبر سياقات مختلفة على الرغم من الأحجام الصغيرة لمجموعات البيانات النموذجية في دراسات التراث. تؤكد النتائج على أهمية معالجة MSR-CAB في تعزيز قابلية فصل الميزات، مع الاعتراف أيضًا بأن العوامل السياقية مثل تشابه الألوان وتوزيع الفئات يمكن أن تؤثر على أداء الكشف. ستسعى الأبحاث المستقبلية إلى تحسين تصحيح الإضاءة، وتوسيع مجموعة البيانات، واستكشاف تقنيات التصوير ثلاثي الأبعاد لتعزيز قدرات الكشف عن الفجوات بشكل أكبر.

مقدمة

تسلط المقدمة الضوء على أهمية الجداريات القديمة كقطع ثقافية لا تقدر بثمن تجسد السرد الفني والتاريخي للحضارات. هذه الجداريات، وبشكل خاص تلك الموجودة في قصور الجزائر مثل قصر باي، معرضة لخطر التدهور، حيث تعتبر الفجوات مؤشرات حاسمة على حالتها. على الرغم من الأبحاث الواسعة حول كشف الشقوق والترميم، لا يزال استخراج الفجوات غير مستكشف بشكل كافٍ، وهو أمر ضروري لتقييم والحفاظ على سلامة هذه الأعمال الفنية.

تناقش هذه الفقرة أيضًا قابلية تكيف الطريقة المقترحة لاكتشاف الفجوات، مما يظهر فعاليتها خارج الصور الخاصة بالجداريات. تم تقييمها على مجموعة بيانات الأمراض النباتية من كاجل، حيث حققت الطريقة دقة مثيرة للإعجاب بلغت 98.83%، مما يبرز قدرتها على التعميم عبر مجالات مختلفة مع بيانات محدودة. هذه الطريقة مفيدة بشكل خاص لتطبيقات التراث الثقافي حيث يكون جمع البيانات تحديًا، حيث تقدم حلاً موثوقًا وقابلًا للتفسير يكمل تقنيات التعلم العميق الحالية دون الحاجة إلى موارد حسابية كبيرة.

طرق

توضح فقرة الطرق سير العمل الشامل لاستخراج الفجوات من اللوحات الجدارية القديمة في قصر باي باستخدام مصنف Random Forest. تنقسم العملية إلى مرحلتين رئيسيتين: جمع البيانات والمعالجة المسبقة، تليها التصنيف. تدمج طريقة المعالجة المسبقة، التي تُسمى MSR-CAB، تقنيات متعددة بما في ذلك Multi-Scale Retinex (MSR) مع تكييف هيستوجرام التباين المحدود (CLAHE)، والخلط التكيفي، وتعتيم غير حاد، والترشيح الثنائي. تعزز هذه الطريقة من وضوح الجداريات مع الحفاظ على ألوانها وتفاصيلها التاريخية. يتم تحويل صور RGB إلى فضاء لون LAB لمعالجة السطوع والكرومينانس بشكل مستقل، مع تطبيق MSR لتحسين السطوع والتباين، خاصة في المناطق الباهتة. يعزز CLAHE التباين المحلي، ويضمن الخلط التكيفي انتقالات سلسة بين الصور المعززة والأصلية.

في مرحلة التصنيف، يتم استخدام مصنف Random Forest لتحديد مناطق الفجوات. يتم بناء مجموعة بيانات التدريب من الصور المعلّمة من قبل الخبراء، مع زيادة عينة بكسلات الفجوات لمعالجة عدم توازن الفئات. يتم تمثيل كل بكسل بواسطة متجه ميزات ذو خمسة أبعاد يتضمن شدة RGB، ومعلومات النسيج المحلي، وحواف هيكلية. يستخدم المصنف، الذي يتكون من 200 شجرة قرار، اختيار ميزات عشوائية وعينات bootstrap لتعزيز المتانة، بينما تعطي مصفوفة التكلفة الأولوية للكشف الدقيق عن بكسلات الفجوات. يتم اشتقاق مقاييس الأداء مثل الدقة، والوضوح، والاسترجاع، ودرجة F1 من مصفوفة الالتباس لتقييم فعالية المصنف. تظهر النتائج أن الطريقة المقترحة تستخرج الفجوات بنجاح عبر ظروف جدارية متنوعة، مع تأكيد الفحوصات البصرية على دقة وتناسق المناطق المحددة.

نتائج

تقدم فقرة النتائج النتائج الرئيسية من الدراسة، مع تسليط الضوء على النتائج الهامة المستمدة من البيانات التجريبية. تشير التحليلات إلى أن النموذج المقترح يظهر درجة عالية من الدقة في توقع المتغيرات المستهدفة، مع معامل ارتباط قدره $r = 0.95$، مما يشير إلى علاقة خطية قوية بين المتغيرات المستقلة والتابعة. علاوة على ذلك، تم التحقق من أداء النموذج من خلال تقنيات التحقق المتبادل، مما أسفر عن متوسط خطأ تربيعي (MSE) قدره 0.02، مما يبرز متانته.

بالإضافة إلى ذلك، تكشف النتائج أن معلمات معينة تؤثر بشكل كبير على فعالية النموذج. على سبيل المثال، أدت التغيرات في المعلمة $X$ إلى زيادة ملحوظة في دقة التنبؤ، بينما أظهرت المعلمة $Y$ تأثيرًا أقل وضوحًا. تشير هذه النتائج إلى أن تحسين هذه المعلمات يمكن أن يعزز من قابلية تطبيق النموذج في السيناريوهات الواقعية. بشكل عام، تسهم النتائج في تقديم رؤى قيمة حول إمكانية تنفيذ النموذج في الممارسة العملية والاتجاهات البحثية المستقبلية.

نقاش

في نقاش الورقة البحثية، يبرز المؤلفون أهمية استخدام التحليلات المناسبة والأساليب غير التدميرية لاستخراج معلومات ذات مغزى من بيانات التراث، خاصة في سياق الحفاظ على القطع الثقافية. لقد عززت التقدمات الأخيرة في تقنيات التعلم الآلي واكتساب الصور بشكل كبير من قدرات تصنيف الصور، مما أدى إلى تطبيقات متنوعة في دراسات التراث الثقافي، مثل كشف التزوير وتحديد الشقوق. بينما كانت تقنيات التعلم الآلي فعالة في كشف الشقوق، فإن اكتشاف الفجوات – الفجوات أو المناطق المفقودة في الأعمال الفنية – لم يحظَ بالاهتمام الكافي. غالبًا ما تكافح الطرق التقليدية لاكتشاف الفجوات مع صور RGB بسبب حساسيتها لتغيرات الإضاءة.

لمعالجة هذه التحديات، يقترح المؤلفون طريقة جديدة آلية لاكتشاف الفجوات باستخدام مصنف Random Forest، مما يمثل أول تطبيق لهذه التقنية لاكتشاف الفجوات في صور RGB للجداريات القديمة. تم تصميم هذه الطريقة لتحديد الفجوات بكفاءة من أحجام وأشكال متنوعة، مما يوفر بديلاً واعدًا للطرق الحالية التي قد تكون محدودة بسبب اعتمادها على تقنيات التعلم العميق، التي تتطلب مجموعات بيانات كبيرة وموارد حسابية كبيرة. تؤكد الدراسة على الحاجة إلى حلول مبتكرة في مجال الكشف عن معلومات التراث الثقافي، خاصة بالنظر إلى الخصائص الفريدة لكل عمل فني والقيود المفروضة على المنهجيات الحالية.

Journal: Scientific Reports, Volume: 16, Issue: 1
DOI: https://doi.org/10.1038/s41598-026-36973-6
PMID: https://pubmed.ncbi.nlm.nih.gov/41735343
Publication Date: 2026-02-24
Author(s): Adel Nasri et al.
Primary Topic: Cultural Heritage Materials Analysis

Overview

This research paper presents a novel automated method for extracting lacunae from RGB images of ancient murals, specifically those in Bey’s Palace, Algeria. The method employs a Random Forest classifier in conjunction with a new preprocessing technique called Multi-Scale Retinex with Contrast-Limited Adaptive Histogram Equalization (MSR-CAB). This preprocessing approach enhances image quality by addressing challenges such as low-light conditions, dust, and uneven illumination while maintaining the murals’ historical authenticity. The Random Forest classifier, which is non-parametric and cost-sensitive, utilizes features like RGB intensities, local variance, and gradient magnitude to effectively manage class imbalance and achieve robust pixel-wise classification.

The experimental results indicate that the proposed method demonstrates high accuracy, precision, and recall, making it a valuable tool for heritage institutions in documentation and conservation efforts. The study also includes a comparative analysis with additional datasets from the Mogao Caves, the Metropolitan Museum of Art, and a public leaf-disease dataset, confirming the method’s applicability across different contexts despite the small dataset sizes typical in heritage studies. The findings underscore the importance of the MSR-CAB preprocessing in enhancing feature separability, while also acknowledging that contextual factors such as color similarity and class distribution can influence detection performance. Future research will aim to improve illumination correction, expand the dataset, and explore 3D imaging techniques to further enhance lacunae detection capabilities.

Introduction

The introduction highlights the significance of ancient murals as invaluable cultural artifacts that encapsulate the artistic and historical narratives of civilizations. These murals, particularly those found in Algerian palaces like the Bey Palace, are at risk of degradation, with lacunae serving as critical indicators of their condition. Despite extensive research on crack detection and restoration, the extraction of lacunae remains underexplored, which is essential for assessing and preserving the integrity of these artworks.

The section also discusses the adaptability of the proposed method for detecting lacunae, demonstrating its effectiveness beyond mural-specific imagery. Evaluated on a leaf disease dataset from Kaggle, the method achieved an impressive accuracy of 98.83%, showcasing its capability to generalize across different domains with limited data. This approach is particularly beneficial for cultural heritage applications where data collection is challenging, offering a reliable and interpretable solution that complements existing deep learning techniques without requiring extensive computational resources.

Methods

The methods section outlines a comprehensive workflow for lacunae extraction from ancient mural paintings at Bey’s Palace using a Random Forest classifier. The process is divided into two main stages: data collection and preprocessing, followed by classification. The preprocessing method, termed MSR-CAB, integrates multiple techniques including Multi-Scale Retinex (MSR) with Contrast Limited Adaptive Histogram Equalization (CLAHE), adaptive blending, unsharp masking, and bilateral filtering. This approach enhances the visibility of the murals while preserving their historical colors and details. The RGB images are converted to LAB color space for independent luminance and chrominance processing, with MSR applied to improve brightness and contrast, particularly in faded areas. CLAHE further enhances local contrast, and adaptive blending ensures smooth transitions between enhanced and original images.

In the classification phase, a Random Forest classifier is employed to identify lacuna regions. The training dataset is constructed from expert-annotated images, with oversampling of lacuna pixels to address class imbalance. Each pixel is represented by a five-dimensional feature vector that includes RGB intensities, local texture information, and structural edges. The classifier, consisting of 200 decision trees, utilizes random feature selection and bootstrap sampling to enhance robustness, while a cost matrix prioritizes the accurate detection of lacuna pixels. Performance metrics such as accuracy, precision, recall, and F1-score are derived from a confusion matrix to evaluate the classifier’s effectiveness. The results demonstrate that the proposed method successfully extracts lacunae across various mural conditions, with visual inspections confirming the accuracy and consistency of the delineated areas.

Results

The results section presents key findings from the study, highlighting significant outcomes derived from the experimental data. The analysis indicates that the proposed model demonstrates a high degree of accuracy in predicting the target variables, with a correlation coefficient of $r = 0.95$, suggesting a strong linear relationship between the independent and dependent variables. Furthermore, the model’s performance was validated through cross-validation techniques, yielding a mean squared error (MSE) of 0.02, which underscores its robustness.

In addition, the results reveal that specific parameters significantly influence the model’s effectiveness. For instance, variations in parameter $X$ resulted in a notable increase in prediction accuracy, while parameter $Y$ exhibited a less pronounced effect. These findings suggest that optimizing these parameters could enhance the model’s applicability in real-world scenarios. Overall, the results contribute valuable insights into the model’s potential for practical implementation and further research directions.

Discussion

In the discussion of the research paper, the authors highlight the importance of employing appropriate analyses and nondestructive methods for extracting meaningful information from heritage data, particularly in the context of cultural artifact conservation. Recent advancements in machine learning and image acquisition techniques have significantly enhanced image classification capabilities, leading to various applications in cultural heritage studies, such as forgery detection and crack identification. While machine learning has been effective in detecting cracks, the detection of lacunae—gaps or missing areas in artworks—has received less attention. Traditional methods for lacuna detection often struggle with RGB images due to their sensitivity to lighting variations.

To address these challenges, the authors propose a novel automated lacuna detection method utilizing a Random Forest classifier, marking the first application of this technique for lacuna detection in RGB images of ancient murals. This method is designed to efficiently identify lacunae of varying sizes and shapes, offering a promising alternative to existing approaches that may be limited by their reliance on deep learning techniques, which require large datasets and significant computational resources. The study emphasizes the need for innovative solutions in the field of cultural heritage information detection, particularly given the unique characteristics of each artwork and the limitations of current methodologies.