All Projects → harsh1795 → CNN-DICOM-Segmentation

harsh1795 / CNN-DICOM-Segmentation

Licence: other
DICOM Image Segmentation with CNNs in Tensorflow

Programming Languages

Jupyter Notebook
11667 projects

Projects that are alternatives of or similar to CNN-DICOM-Segmentation

survey-computer-vision-2021
2021年计算机视觉技术综述分类汇总
Stars: ✭ 54 (-37.93%)
Mutual labels:  medical-imaging, image-segmentation
Brain-MRI-Segmentation
Smart India Hackathon 2019 project given by the Department of Atomic Energy
Stars: ✭ 29 (-66.67%)
Mutual labels:  medical-imaging, image-segmentation
FCN-CTSCAN
A small TensorFlow project created to test some machine learning problems
Stars: ✭ 17 (-80.46%)
Mutual labels:  medical-imaging, image-segmentation
angiodysplasia-segmentation
Wining solution and its further development for MICCAI 2017 Endoscopic Vision Challenge Angiodysplasia Detection and Localization
Stars: ✭ 76 (-12.64%)
Mutual labels:  medical-imaging, image-segmentation
U Net
U-Net: Convolutional Networks for Biomedical Image Segmentation
Stars: ✭ 374 (+329.89%)
Mutual labels:  medical-imaging, image-segmentation
Livianet
This repository contains the code of LiviaNET, a 3D fully convolutional neural network that was employed in our work: "3D fully convolutional networks for subcortical segmentation in MRI: A large-scale study"
Stars: ✭ 143 (+64.37%)
Mutual labels:  medical-imaging, image-segmentation
ResUNetPlusPlus-with-CRF-and-TTA
ResUNet++, CRF, and TTA for segmentation of medical images (IEEE JBIHI)
Stars: ✭ 98 (+12.64%)
Mutual labels:  medical-imaging, image-segmentation
VNet
Prostate MR Image Segmentation 2012
Stars: ✭ 54 (-37.93%)
Mutual labels:  medical-imaging, image-segmentation
coursera-ai-for-medicine-specialization
Programming assignments, labs and quizzes from all courses in the Coursera AI for Medicine Specialization offered by deeplearning.ai
Stars: ✭ 80 (-8.05%)
Mutual labels:  medical-imaging, image-segmentation
Robot Surgery Segmentation
Wining solution and its improvement for MICCAI 2017 Robotic Instrument Segmentation Sub-Challenge
Stars: ✭ 528 (+506.9%)
Mutual labels:  medical-imaging, image-segmentation
Pyimsegm
Image segmentation - general superpixel segmentation & center detection & region growing
Stars: ✭ 213 (+144.83%)
Mutual labels:  medical-imaging, image-segmentation
MATBOX Microstructure analysis toolbox
MATBOX is an open-source MATLAB toolbox dedicated to microstructure analsyis of porous/heterogeneous materials
Stars: ✭ 27 (-68.97%)
Mutual labels:  image-segmentation
K-Net
[NeurIPS2021] Code Release of K-Net: Towards Unified Image Segmentation
Stars: ✭ 434 (+398.85%)
Mutual labels:  image-segmentation
SemiDenseNet
Repository containing the code of one of the networks that we employed in the iSEG Grand MICCAI Challenge 2017, infant brain segmentation.
Stars: ✭ 55 (-36.78%)
Mutual labels:  medical-imaging
nobrainer
A framework for developing neural network models for 3D image processing.
Stars: ✭ 123 (+41.38%)
Mutual labels:  medical-imaging
3D-GuidedGradCAM-for-Medical-Imaging
This Repo containes the implemnetation of generating Guided-GradCAM for 3D medical Imaging using Nifti file in tensorflow 2.0. Different input files can be used in that case need to edit the input to the Guided-gradCAM model.
Stars: ✭ 60 (-31.03%)
Mutual labels:  medical-imaging
mrnet
Building an ACL tear detector to spot knee injuries from MRIs with PyTorch (MRNet)
Stars: ✭ 98 (+12.64%)
Mutual labels:  medical-imaging
Deeplab-pytorch
Deeplab for semantic segmentation tasks
Stars: ✭ 61 (-29.89%)
Mutual labels:  image-segmentation
melanoma segmentation
Segmentation of skin cancers on ISIC 2017 challenge dataset.
Stars: ✭ 47 (-45.98%)
Mutual labels:  medical-imaging
GaNDLF
A generalizable application framework for segmentation, regression, and classification using PyTorch
Stars: ✭ 77 (-11.49%)
Mutual labels:  medical-imaging

HealthCare

Project : Image Segmentation of Dicom Images to remove headrest label from head CT scans

Please give a if you like my work.👽

Description

  • Programming Language - Python2.7, Jupyter, Tensorflow
  • Task: Remove Headrest from all the scans of patient given in dicom format using Convolutional Neural Networks by Image Segmentation

Data Preprocessing

  • Reading Dicom Images from pydicom package and store image in numpy arrays.
  • Converting raw grayscaled images stored in Hounsfield Units into meaningful numpy arrays for CNNs by rescaling them using slope and threshold taken from dicom image header. Below is the example of Hounsfield units histogram representation before scaling of a dicom image.

    Here is the Hounsfield units histogram representation after scaling and threshold correction for the same dicom image.

  • Creating Ground truth labels by segmenting images using K-Means clustering and finding non-connected components in a clustered image to identify headrest label.This works with 95%+ accuracy as only few examples are there where headrest is connected directly to head in a CT scan image. Below is one of the example where our method fails and this will be solved by using CNNs:

    Segmenting them by calculating mean and standard deviation of HU units for each label created in previous step, this is done because more often some small noisy components of head may also get labelled as headrest which are not connected to head in a CT scan image. Then, we give headrest label pixels as 1 in the image and rest all label pixels as 0 in the image.
  • Storing these labels as segmented labels for training input images.

Building CNNs

  • Input Image of 512 * 512 greyscaled images of head CT scans.
  • Output - Segmented label for Headrest
  • Built different models:
    • 3 Layer - 2 Convolutional/Deconvolutional in each layer - 2 Max pooling - "VALID" padding (size not same of output)
    • 7 Layer - 2 Convolutional/Deconvolutional (First 3 layers), 4 (Next 3 layers), 8(Last layer) - 6 pooling and upsampling layers - "SAME" padding (Final model used for predicting images.) Here is the architecture of convolutional neural network model:

  • Performing much better than thresholding methods

Results & Visualization

  • Achieved accuracy above 99% in Image segmentation of 500 dicom images. Here is one example of one test image.

  • Since model was trained on only head CT scan images, here is the segmented image of chest CT scan image when feeded to the model.

  • There is an awesome visualization of how model improves and predicts a batch of 10 images per epoch in a video format. Here is the link for the video or you can also download it from /images/Epoc_video.mp4

Special credit to Joel Akeret for beautiful implementation of Image Segmentation of Tensorflow. Please visit his repo for detailed code.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].