Rachid Harba

Rachid Harba

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article


Rachid Harba has a total of 55 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Open Access

    AI Correction of Smartphone Thermal Images: Application to Diabetic Plantar Foot

    by Hafid Elfahimi, Rachid Harba, Asma Aferhane, Hassan Douzi, Ikram Damoune

    Prevention of complications related to diabetic foot (DF) can now be performed using smartphone-connected thermal cameras. However, the absolute error associated with these devices remains particularly high, compromising measurement reliability, especially under variable environmental conditions. To address this, we introduce a physiologically motivated two-region segmentation task (forehead + plantar foot) to enable stable temperature correction. First, we developed a fully automated joint method for this task, building upon a new multimodal thermal–RGB dataset constructed with detailed annotation procedures. Five deep learning methods (U-Net, U-Net++, SegNet, DE-ResUnet, and DE-ResUnet++) were evaluated and compared to traditional baselines (Adaptive Thresholding and Region Growing), demonstrating the clear advantage of data-driven approaches. The best performance was achieved by the DE-ResUnet++ architecture (Dice score: 98.46%). Second, we validated the correction approach through a clinical study. Results showed that the variance of corrected temperatures was reduced by half compared to absolute values (p < 0.01), highlighting the effectiveness of the correction approach. Furthermore, corrected temperatures successfully distinguished DF patients from healthy controls (p < 0.01), unlike absolute temperatures. These findings suggest that our approach could enhance the performance of smartphone-connected thermal devices and contribute to the early prevention of DF complications.


  • Open Access

    An Evaluation of the Effect of Dimple Insoles on Foot Temperature in Diabetic Patients

    by Asma Aferhane, Hassan Douzi, Rachid Harba, Luis Vilcahuaman, Alejandro J. Almenar-Arasanz, Javier Alfaro-Santafé, Hugo Arbañil, María Teresa Arista, Roozbeh Naemi

    Objective: Insoles play a crucial role in foot comfort, with their effect on foot temperature being a key factor. This study aims to evaluate and compare the effect of walking with two different insole types—dimple insoles versus a conventional insole—on foot temperature changes in patients with diabetic neuropathy. Methods: Thermal imaging was used to measure the foot temperature of nine participants immediately before and after walking 250 m in each insole. Temperature variations were analyzed for the whole foot across four specific regions to assess and compare the effect of each insole on foot temperature. Results: The Wilcoxon Signed-Rank Test revealed that contralateral temperature differences between the left and right feet after walking (∆TAfter) were significantly (p<0.05) lower in dimple insoles compared to the conventional insoles. This effect was particularly strong in the midfoot and toe regions. Conclusions: The results indicate that insole type can influence foot contralateral temperature differences after walking. These findings provide valuable insights for selecting insoles based on thermal data and can have implications in improving patient outcomes.


  • Open Access

    ReRNet: recursive neural network for enhanced image correction in print-cam watermarking

    by Said Boujerfaoui, Hassan Douzi, Rachid Harba, Khadija Gourrame

    Robust image watermarking that can resist camera shooting has gained considerable attention in recent years due to the need to protect sensitive printed information from being captured and reproduced without authorization. Indeed, the evolution of smartphones has made identity watermarking a feasible and convenient process. However, this process also introduces challenges like perspective distortions, which can significantly impair the effectiveness of watermark detection on freehandedly digitized images. To meet this challenge, ResNet50-based ensemble of randomized neural networks (ReRNet), a recursive convolutional neural network-based correction method, is presented for the print-cam process, specifically applied to identity images. Therefore, this paper proposes an improved Fourier watermarking method based on ReRNet to rectify perspective distortions. Experimental results validate the robustness of the enhanced scheme and demonstrate its superiority over existing methods, especially in handling perspective distortions encountered in the print-cam process.


  • Open Access

    Phase quantification using deep neural network processing of XRD patterns

    by Titouan Simonnet, Sylvain Grangeon, Francis Claret, Nicolas Maubec, Mame Diarra Fall, Rachid Harba, Bruno Galerne

    Mineral identification and quantification are key to the understanding and, hence, the capacity to predict material properties. The method of choice for mineral quantification is powder X-ray diffraction (XRD), generally using a Rietveld refinement approach. However, a successful Rietveld refinement requires preliminary identification of the phases that make up the sample. This is generally carried out manually, and this task becomes extremely long or virtually impossible in the case of very large datasets such as those from synchrotron X-ray diffraction computed tomography. To circumvent this issue, this article proposes a novel neural network (NN) method for automating phase identification and quantification. An XRD pattern calculation code was used to generate large datasets of synthetic data that are used to train the NN. This approach offers significant advantages, including the ability to construct databases with a substantial number of XRD patterns and the introduction of extensive variability into these patterns. To enhance the performance of the NN, a specifically designed loss function for proportion inference was employed during the training process, offering improved efficiency and stability compared with traditional functions. The NN, trained exclusively with synthetic data, proved its ability to identify and quantify mineral phases on synthetic and real XRD patterns. Trained NN errors were equal to 0.5% for phase quantification on the synthetic test set, and 6% on the experimental data, in a system containing four phases of contrasting crystal structures (calcite, gibbsite, dolomite and hematite). The proposed method is freely available on GitHub and allows for major advances since it can be applied to any dataset, regardless of the mineral phases present.


  • Open Access

    Cam-Unet: Print-Cam Image Correction for Zero-Bit Fourier Image Watermarking

    by Said Boujerfaoui, Hassan Douzi, Rachid Harba, Frédéric Ros

    Image watermarking often involves the use of handheld devices under non-structured conditions for authentication purposes, particularly in the print-cam process where smartphone cameras are used to capture watermarked printed images. However, these images frequently suffer from perspective distortions, making them unsuitable for automated information detection. To address this issue, Cam-Unet, an end-to-end neural network architecture, is presented to predict the mapping from distorted images to rectified ones, specifically tailored for print-cam challenges applied to ID images. Given the limited availability of large-scale real datasets containing ground truth distortions, we created an extensive synthetic dataset by subjecting undistorted images to print-cam attacks. The proposed network is trained on this dataset, using various data augmentation techniques to improve its generalization capabilities. Accordingly, this paper presents an image watermarking system for the print-cam process. The approach combines Fourier transform-based watermarking with Cam-Unet as perspective distortion correction. Results show that the proposed method outperforms existing watermarking approaches typically employed to counter print-cam attacks and achieves an optimal balance between efficiency and cost-effectiveness.


  • Open Access

    Image Watermarking between Conventional and Learning-Based Techniques: A Literature Review

    by Said Boujerfaoui, Rabia Riad, Hassan Douzi, Frédéric Ros, Rachid Harba

    Currently, most transactions and exchanges are conducted through the Internet thanks to technological tools, running the risk of the falsification and distortion of information. This is due to the massive demand for the virtual world and its easy access to anyone. Image watermarking has recently emerged as one of the most important areas for protecting content and enhancing durability and resistance to these kinds of attacks. However, there is currently no integrated technology able to repel all possible kinds of attacks; the main objective of each technology remains limited to specific types of applications, meaning there are multiple opportunities to contribute to the development of this field. Recently, the image watermarking field has gained significant benefits from the sudden popularity of deep learning and its outstanding success in the field of information security. Thus, in this article, we will describe the bridge by which the watermarking field has evolved from traditional technology to intelligent technologies based on deep learning.


  • Open Access

    Segmentation of Plantar Foot Thermal Images Using Prior Information

    by Asma Bougrine, Rachid Harba, Raphael Canals, Roger Ledee, Meryem Jabloun, Alain Villeneuve

    Diabetic foot (DF) complications are associated with temperature variations. The occurrence of DF ulceration could be reduced by using a contactless thermal camera. The aim of our study is to provide a decision support tool for the prevention of DF ulcers. Thus, the segmentation of the plantar foot in thermal images is a challenging step for a non-constraining acquisition protocol. This paper presents a new segmentation method for plantar foot thermal images. This method is designed to include five pieces of prior information regarding the aforementioned images. First, a new energy term is added to the snake of Kass et al. in order to force its curvature to match that of the prior shape, which has a known form. Second, we defined the initial contour as the downsized prior-shape contour, which is placed inside the plantar foot surface in a vertical orientation. This choice makes the snake avoid strong false boundaries present outside the plantar region when evolving. As a result, the snake produces a smooth contour that rapidly converges to the true boundaries of the foot. The proposed method is compared to two classical prior-shape snake methods, that of Ahmed et al. and that of Chen et al. A database of 50 plantar foot thermal images was processed. The results show that the proposed method outperforms the previous two methods with a root-mean-square error of 5.12 pixels and a dice similarity coefficient of 94%. The segmentation of the plantar foot regions in the thermal images helped us to assess the point-to-point temperature differences between the two feet in order to detect hyperthermia regions. The presence of such regions is the pre-sign of ulcers in the diabetic foot. Furthermore, our method was applied to hyperthermia detection to illustrate the promising potential of thermography in the case of the diabetic foot. Associated with a friendly acquisition protocol, the proposed segmentation method is the first step for a future mobile smartphone-based plantar foot thermal analysis for diabetic foot patients.


  • An industrial portrait background removal solution based on knowledge infusion

    by Rabia Riad, Frédéric Ros, Mohamed El Hajji, Rachid Harba


  • Open Access

    Fourier Image Watermarking: Print-Cam Application

    by Khadija Gourrame, Frederic Ros, Hassan Douzi, Rachid Harba, Rabia Riad

    Digital image watermarking is an active research field since it provides protection, security, and authenticity of data. This paper presents development and implementation of a blind and robust watermarking application for ID images under a print-cam system. In the present case, the images are watermarked and printed on ID cards and then detected freehandedly with a smartphone camera. In order to design an efficient and robust image watermarking application, the attacks produced in print-cam processes, such as geometric distortions, must be resolved. Accordingly, the proposed watermarking approach is applied in the Fourier domain. Then, a frame-based projective rectification is integrated to deal with geometric distortions by using detection of Hough lines. Moreover, better robustness against print-cam watermarking attacks was achieved compared with the existing methods, and an Android application was designed and implemented based on the proposed scheme.


  • Open Access

    Corrigendum to “Optimized Method for Generating and Acquiring GPS Gold Codes”

    by Khaled Rouabah, Salim Attia, Rachid Harba, Philippe Ravier, Sabrina Boukerma

    In the article titled “Optimized Method for Generating and Acquiring GPS Gold Codes” [1], the authors identified an error in Figure 1, where the x6 connection was missing. The corrected Figure 1 is as follows.