Skip to content
View Smainfet's full-sized avatar
  • Lille, France
  • 04:04 (UTC +02:00)
Block or Report

Block or report Smainfet

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
Smainfet/README.md

test4

Hi 👋 I'm Smaïn, a fresh biomedical engineer 🩻 passionate about Deep learning

  • 💙 I've just finished my end-of-studies internship with Carmat

  • 📖 I have just obtained my biomedical engineering diploma from the University of Technology of Compiegne (UTC)

  • 🌱 At the moment, I'm learning about deep learning techniques specifically for medical image and biosignal processing

  • 📫 Feel free to contact me on LinkedIn



🗂️ My projects

For a better comprehension, here is a legend to contextualize my projects :

  • 🔒 : Professional project, the code cannot be shown

  • 📚 : Educational project

  • 🩻 : Image processing project

  • 〰️ : Signal processing project

  • 🦾 : Robotics project



Respiratory sounds play a crucial role in assessing respiratory well-being and identifying respiratory ailments. The sound emitted when a person breathes is directly related to air movement, changes within lung tissue and the position of secretions within the lung. For instance, the presence of wheezing is a common indication of obstructive airway conditions such as asthma or chronic obstructive pulmonary disease (COPD).

Modern technology, such as digital stethoscopes and various recording methods, enables the capture of these sound patterns. The digital data thus acquired opens up exciting possibilities for the utilization of machine learning in the automated diagnosis of respiratory disorders.


Breathing_audio.mov

Audio file of a patient with bronchiectasis


I have worked on implementing a Convolutional Neural Network (CNN) used to identify respiratory diseases in audio files. The CNN is fed with Mel-Spectrograms, Chromagrams, and Mel-frequency cepstrum features extracted from the input audio files.

image

During processing, audio clips are split into 6-second segments, with zero-padding added if necessary. During training, Mel-Spectrograms, Chromagrams, and Mel-frequency cepstrum features are extracted from the audio files to assist the network in identifying features associated with respiratory diseases occurring at arbitrary times within the recordings.

image


As part of the course Medical image processing, i developed a solution to perform an automatic segmentation of lungs affected by COVID-19.

Due to the scale of people affected by Covid-19 and because the scanners have great inter-variability, I proposed a robust and rapid lung segmentation method, using Deep Learning U-Net architecture, which will serve as a pre-processing step of a hypothetic chain of automatic diagnosis, to focus the automatic analysis of the CT scan images on the lung region.


Capture d’écran 2023-09-20 à 11 45 41
Capture d’écran 2023-09-20 à 13 09 17
comparison of segmentation results obtained with several methods

I used data available on kaggle labeled by expert in segmentation. To improve training, I removed the volumes where there were no lungs.


Capture d’écran 2023-09-20 à 02 56 57

We can imagine that this processing chain will be used to direct health services as quickly and reliably as possible towards the diagnosis of the patient observed, and thus relieve them of this workload.



An experimental study was carried out on 74 subjects recorded in two states: an initial state of relaxation followed by a phase of stress where the subject performs different stressful tasks (mental calculation, stroop test which is a color game). Four physiological signals including: ECG, PPG, EDA and EMG are recorded during both phases.

As part of this work, I worked on PPG signal preprocessing. I developed a processing chain including: Exploratory data analysis, PPG signal processing and extraction of temporal, frequency and statistical parameters.


Capture d’écran 2023-09-20 à 23 20 32

At the same time, I worked on a PyQt5 interface capable of reproducing signal acquisition and applying filtering in real time.


ezgif com-optimize-2


🔒 🩻 MR‐based treatment planning in radiotherapy using deep learning approach


image

In radiotherapy, MRI is used for target volume and organs-at-risk delineation for its superior soft-tissue contrast as compared to CT imaging. However, MRI does not provide the electron density of tissue necessary for dose calculation. Several methods of synthetic-CT (sCT) generation from MRI data have been developed for radiotherapy dose calculation.

My work was to test, propose and upgrade different deep learning (DL) sCT generation methods, in order to improve results obtains on the associated image created with the DL method, in the context of MRI-based dose calculation.

I proposed a new cGAN (Conditional generative adversarial network) method based on the 3 MRI image views (transverse, sagittal and coronal) and not only on the axial view (like classic cGAN method).

Capture d’écran 2023-09-20 à 23 44 50

The 2D+ cGAN (cGAN in the 3 views) consists of generating 3 sCTs (according to each view) per patient, and combined in one sCT by using the median voxel value.

The biggest problem I encountered was the presence of artifacts in the final sCTs. Artifacts were created upstream of the final sCT, by the sCTs generated on the x and y axis. A lack of space outside the patient's external contour during the testing phase corrupts the generation of the sCT. I concluded that the generator does not have a wide enough intensity dynamic in the MRI to synthesize the sCT correctly, this causes it to confuse the low values of the MRI inside the outer contour ( 20 - 30 intensity) for outdoors (0 intensity).

I was able to obtain one of the best result of the literature for sCT generation in the pelvis area.

image Capture d’écran 2023-09-21 à 00 26 44

This 2D+ method was published at the ESTRO (European Society Radiation Oncology) 2022 congress.

Popular repositories

  1. CNN_Breathing CNN_Breathing Public

    automated diagnosis of respiratory diseases in audio files

    Jupyter Notebook 1

  2. ui_stress ui_stress Public

    Python

  3. Smainfet Smainfet Public

  4. Segmentation_Lungs Segmentation_Lungs Public

    Automatic Segmentation of CT images of lungs affected by COVID-19 with U-Net

    Python