Giter VIP home page Giter VIP logo

wavelet-diffusion-segmentation's Introduction

wavelet-diffusion-segmentation

Brain Tumor Segmentation via Noised Multi-level Wavelet Feature Extraction.

  • POSTECH CSED499A - Research Project 1
  • in MIV Lab @ POSTECH (Under the supervision by Wonhwa Kim, Hyuna Cho)
  • (As of 12/15) All codes and docs are completed version.

Summary

  • Implemented ‘WaveUNet’, that is able to extract useful features in image, with multi-level wavelet transform and various diffusion noise scales
  • Proposed ‘Symmetric Contrastive Loss’, simple but strong logic
  • Based on AttentionUNet, added a symmetric contrastive loss and had a better performance for tumor cores (NCR, ET).
  • Feature extractor’s feature matching loss is hard to converge, need to modify the architecture or loss function in later

2D Haar Wavelet Transform

그림3

  • Simple variation of wavelet transform, involving Discrete Wavelet Transform (DWT) & Discrete Inverse Wavelet Transform (IWT)
  • $L = {1\over\sqrt(2)} [1 \ \ 1], H = {1\over\sqrt(2)} [-1 \ \ 1]$ represent low-pass & high-pass filters, construct 4 kernels ($LL^T, LH^T, HL^T, HH^T$)
  • Decompose the input 𝑋 ∈ $R^{H \times W}$ into 4 subbands ($X_{ll}, X_{hl}, X_{hl}, X_{hh}$) with dimensions $R^{{H\over 2} \times {W\over 2}}$
  • Accurate reconstruction of the original signals 𝑋 from frequency components through IWT

Method 1: Multi-level Noised Wavelet Feature Extractor (WaveUNet)

WaveUNet

  1. Input image is decomposed by Multi-level DWT, first low-frequency subbands 𝑋1,𝑙𝑙 gets noise and goes into WaveUNet
  2. Higher level’s low-frequency subbands are concatenated residually into WaveUNet’s layers
  3. WaveUNet is trained to mimics each level’s low frequency subbands, returns to image domain by IWT

Feature Voter

  • Can apply any general segmentation models (MLP, CNN, …)
  • WaveUNet gives extracted multi-level feature map to Feature Voter, makes a per class score map

Model Architecture

image

Loss Function

1. Feature matching Loss

  • Feature extractor is learned to reduce the L2 norm of multilevel wavelet inputs & feature maps it extracts 2. Segmentation Loss
  • Weighted multi-class cross-entropy loss
  • Class distribution was highly imbalanced, weights as reciprocal of the class distribution for stable learning

Method 2: Symmetric Contrastive Loss

  • Tumor regions are almost asymmetric.
  • If there is a tumor in one region based on the x-axis, there is very likely to no tumor in the opposite.
  • Penalize not to be similar model’s prediction to opposite region’s label (Just tumor region) image

Experiments & Results

Experiment 1.

  • Used baseline model (AttentionUNet) learns to compare the effects by adding symmetric contrastive loss
  • Each model trained for 100 epochs, hyperparameter 𝝀 = 0, 0.1, 0.3, 0.5
  • Trained on 12,510 train datasets, and measure Dice Score for each classes with 400 validation images.

Experiment 2.

  • Feature extraction with WaveUNet, give feature maps to AttentionUNet, λ=0.1 -> Not going well…

Experiment Overview

그림2

Dataset

  • BraTS 2021

image

BraTS Challenge

  • Challenge in MICCAI
  • Evaluate state-of-the-art methods for the tumor segmentation in mpMRI scans

Preprocessing

  • Sliced 10 timesteps(70-79) to solve 2D Brain Tumor Segmentation task
  • Sliced data have 240×240 resolution with 4 modalities (t1, t1ce, t2, flair), depending on whether a contrast agent is administered or not
  • Each pixels are labeled one of 4 classes (label 0: Background, label 1: NCR, label 2: Edematous, label 4: ET)
  • Preprocessed with min-max normalization to range each pixel values 0-1
  • No data augmentation

How to Use

  • TBD

Project Poster

Final_Poster_DaehyeonChoi.pdf

wavelet-diffusion-segmentation's People

Contributors

choidaedae avatar

Stargazers

NeoNz avatar

Watchers

Kostas Georgiou avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.