All Projects → xinario → chestViewSplit

xinario / chestViewSplit

Licence: other
Automatically split the chest x-ray into two views

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to chestViewSplit

chest xray 14
Benchmarks on NIH Chest X-ray 14 dataset
Stars: ✭ 67 (+294.12%)
Mutual labels:  medical-imaging, chest-xrays
AE-CNN
ICVGIP' 18 Oral Paper - Classification of thoracic diseases on ChestX-Ray14 dataset
Stars: ✭ 33 (+94.12%)
Mutual labels:  medical-imaging, chest-xrays
Malaria-Detection-using-Keras
Malaria Detection using Deep Learning from Images made available publicly from NIH
Stars: ✭ 38 (+123.53%)
Mutual labels:  medical-imaging
rt-utils
A minimal Python library to facilitate the creation and manipulation of DICOM RTStructs.
Stars: ✭ 89 (+423.53%)
Mutual labels:  medical-imaging
nih-chest-xray
Identifying diseases in chest X-rays using convolutional neural networks
Stars: ✭ 83 (+388.24%)
Mutual labels:  chest-xrays
GateContrib
User-oriented public repository of Gate (macros, examples and user contributions)
Stars: ✭ 57 (+235.29%)
Mutual labels:  medical-imaging
kits19-challenge
Kidney Tumor Segmentation Challenge 2019
Stars: ✭ 44 (+158.82%)
Mutual labels:  medical-imaging
cucim
No description or website provided.
Stars: ✭ 218 (+1182.35%)
Mutual labels:  medical-imaging
MRQy
MRQy is a quality assurance and checking tool for quantitative assessment of magnetic resonance imaging (MRI) data.
Stars: ✭ 58 (+241.18%)
Mutual labels:  medical-imaging
Machine-Learning-in-Medical-Imaging--U-Net
TUM_MLMI_SS16: Convolutional Neural Network using U-Net architecture to predict one modality of a brain MRI scan from another modality.
Stars: ✭ 22 (+29.41%)
Mutual labels:  medical-imaging
Dicom-Viewer
An application displaying 2D/3D Dicom
Stars: ✭ 37 (+117.65%)
Mutual labels:  medical-imaging
subpixel-embedding-segmentation
PyTorch Implementation of Small Lesion Segmentation in Brain MRIs with Subpixel Embedding (ORAL, MICCAIW 2021)
Stars: ✭ 22 (+29.41%)
Mutual labels:  medical-imaging
monai-deploy
MONAI Deploy aims to become the de-facto standard for developing, packaging, testing, deploying and running medical AI applications in clinical production.
Stars: ✭ 56 (+229.41%)
Mutual labels:  medical-imaging
nnDetection
nnDetection is a self-configuring framework for 3D (volumetric) medical object detection which can be applied to new data sets without manual intervention. It includes guides for 12 data sets that were used to develop and evaluate the performance of the proposed method.
Stars: ✭ 355 (+1988.24%)
Mutual labels:  medical-imaging
CNN-DICOM-Segmentation
DICOM Image Segmentation with CNNs in Tensorflow
Stars: ✭ 87 (+411.76%)
Mutual labels:  medical-imaging
FCN-CTSCAN
A small TensorFlow project created to test some machine learning problems
Stars: ✭ 17 (+0%)
Mutual labels:  medical-imaging
GaNDLF
A generalizable application framework for segmentation, regression, and classification using PyTorch
Stars: ✭ 77 (+352.94%)
Mutual labels:  medical-imaging
bisqueUCSB
BisQue is an ML Platform for storing, analyzing, and visualizing your data all in the browser.
Stars: ✭ 26 (+52.94%)
Mutual labels:  medical-imaging
CheXbert
Combining Automatic Labelers and Expert Annotations for Accurate Radiology Report Labeling Using BERT
Stars: ✭ 51 (+200%)
Mutual labels:  medical-imaging
Skin Lesion Detection Deep Learning
Skin lesion detection from dermoscopic images using Convolutional Neural Networks
Stars: ✭ 48 (+182.35%)
Mutual labels:  medical-imaging

chestViewSplit

This repo provides a trained model to seperate the chest x-ray into two views: front view (PA or posterior-anterior) and side view (LL or latero-lateral).

Sometimes when you download the chest x-rays from the internet, there's no text description or meta data associated with the image. If you want to only work with images from a single view, you'll have to manually seperate the images which is tedious. Here I trained a model based on resnet-50 to automate the process and hopefully it can help people facing the same issue.

Prerequistites

  • Linux or OSX
  • NVIDIA GPU
  • Python 2.7
  • PyTorch v0.2.0
  • Numpy

Getting Started

Installation

  • Install PyTorh and the other dependencies
  • Clone this repo:
git clone https://github.com/xinario/chestViewSplit.git
cd chestViewSplit
  • Download the trained model from this link and put it into folder ./models (mkdir ./models)

Classification

  • Make sure all your chest x-rays resides in the same folder, e.g. ./chest_xray and then run the following command (-i specifies the input folder and -o specifies the output folder).
python xray_split.py -i chest_xray/ -o chest_xray/
  • After running the above script, the images from two views will be saved in folder ./chest_xray/front and ./chest_xray/side respectively.

Acknowlegements

Part of the code are borrowed from fine-tuning.pytorch

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].