All Projects → theidentity → Unets

theidentity / Unets

Licence: other
Implemenation of UNets for Lung Segmentation

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Unets

satellite-Image-Semantic-Segmentation-Unet-Tensorflow-keras
Collection of different Unet Variant suchas VggUnet, ResUnet, DenseUnet, Unet. AttUnet, MobileNetUnet, NestedUNet, R2AttUNet, R2UNet, SEUnet, scSEUnet, Unet_Xception_ResNetBlock
Stars: ✭ 43 (+138.89%)
Mutual labels:  unet, unet-image-segmentation, unet-keras
lung-segmentation
Lung segmentation for chest X-Ray images
Stars: ✭ 74 (+311.11%)
Mutual labels:  unet, xray
unet pytorch
Pytorch implementation of UNet for converting aerial satellite images into google maps kinda images.
Stars: ✭ 27 (+50%)
Mutual labels:  unet, unet-image-segmentation
caffe-unet-docker
The U-Net Segmentation server (caffe_unet) for Docker
Stars: ✭ 25 (+38.89%)
Mutual labels:  unet, unet-image-segmentation
ResUNetPlusPlus-with-CRF-and-TTA
ResUNet++, CRF, and TTA for segmentation of medical images (IEEE JBIHI)
Stars: ✭ 98 (+444.44%)
Mutual labels:  unet, unet-image-segmentation
multiclass-semantic-segmentation
Experiments with UNET/FPN models and cityscapes/kitti datasets [Pytorch]
Stars: ✭ 96 (+433.33%)
Mutual labels:  unet, unet-image-segmentation
open-solution-ship-detection
Open solution to the Airbus Ship Detection Challenge
Stars: ✭ 54 (+200%)
Mutual labels:  unet, unet-image-segmentation
EPCDepth
[ICCV 2021] Excavating the Potential Capacity of Self-Supervised Monocular Depth Estimation
Stars: ✭ 105 (+483.33%)
Mutual labels:  data-augmentation
go-tun2socks-build
tun2socks with v2ray & xray support for Android
Stars: ✭ 147 (+716.67%)
Mutual labels:  xray
xray-heroku
No description or website provided.
Stars: ✭ 24 (+33.33%)
Mutual labels:  xray
LibtorchTutorials
This is a code repository for pytorch c++ (or libtorch) tutorial.
Stars: ✭ 463 (+2472.22%)
Mutual labels:  unet
celldetection
Cell Detection with PyTorch.
Stars: ✭ 44 (+144.44%)
Mutual labels:  unet
R Unet
Video prediction using lstm and unet
Stars: ✭ 25 (+38.89%)
Mutual labels:  unet
SmaAt-UNet
PyTorch-Code for the Paper "SmaAt-UNet: Precipitation Nowcasting using a Small, Attentive UNet-Architecture"
Stars: ✭ 112 (+522.22%)
Mutual labels:  unet
manifold mixup
Tensorflow implementation of the Manifold Mixup machine learning research paper
Stars: ✭ 24 (+33.33%)
Mutual labels:  data-augmentation
dl-agriculture
Automatic mapping of center pivot irrigation systems, planted forests and rural infrastructures
Stars: ✭ 19 (+5.56%)
Mutual labels:  unet
GAug
AAAI'21: Data Augmentation for Graph Neural Networks
Stars: ✭ 139 (+672.22%)
Mutual labels:  data-augmentation
KitanaQA
KitanaQA: Adversarial training and data augmentation for neural question-answering models
Stars: ✭ 58 (+222.22%)
Mutual labels:  data-augmentation
lowLightImageEnhancement
Low Light Image Enhancement
Stars: ✭ 23 (+27.78%)
Mutual labels:  unet
coursera-gan-specialization
Programming assignments and quizzes from all courses within the GANs specialization offered by deeplearning.ai
Stars: ✭ 277 (+1438.89%)
Mutual labels:  data-augmentation

Semantic Segmentation for Medical Images

Implemenation of Unets for Lung Segmentation in Xrays in Keras

inp-out

Key Details

Item Details
Input 256 x 256 grayscale Xray Image
Output 256 x 256 segmentation map
Train Images 110
Manual train masks 110
Validation Images 28
Manual validation masks 28
  • Thanks to zhixuhao for the keras implementation of unets
  • Have improved upon that to run with image generators in keras dynamically and augment while training

Dependencies

  • Keras 2.1.5
  • Numpy 1.14.2
  • OpenCV 2.4.9.1
    • Just using it to write and resize images
    • You may replace with PIL if you prefer

Things to note

  • While running ensure that the xrays and images are in separate folders and have the same labels
  • Follow similar folder hierarchy in data/ to your work easier ;)

Running Unets

# Initialize the Unet
u1 = Unet()

# Round one of training
u1.train(lr=1e-4,num_epochs=20)

# Improve upon existing model
u1.continue_training(lr=1e-4,num_epochs=20)

# Visualize image and output side by side
u1.generate_output(save=True,mode='side_by_side',output_folder='data/outputs/side_by_side/')

# Crop images based on output mask and return the mask
u1.generate_output(save=True,mode='cropped',output_folder='data/outputs/cropped/')

# Get just the masks
u1.generate_output(save=True,mode='mask_only',output_folder='data/outputs/masks_only/')
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].