Giter Club home page Giter Club logo

temporal-enhanced-ultrasound's Introduction

Temporal-Enhanced-Ultrasound

All code and models related to TeUS and my MSc thesis.

Script instructions

TeUS ViTUS Script Guide

  1. Helper Scripts
  • Contains a lot of scripts and functions that are used by other scripts
  • FFT, detrending, creating GIFs, bmode images, time series plots, etc.
  1. Jan17 Phantom Scripts
  • This folder contains the scripts used on the 9 phantoms for my thesis

  • Experiment_Master_5fold.m - The main script that will run all experiments using 5fold CV and save average results. You can specify the 'type' which are provided in 'loadFold.m', and the data will be loaded and results outputted.

  • generateEMBCFolds.m - Actually generates the TeUS or ViTUS 6folds using all planes of all phantoms. There are a few parameters that need to be changed depending on the experiments. Most of these are at the top (element, numberSamplesFromCenter, initialFocus, amplitude, number of acquired frames, etc). The rest of the code simply loads and converts the data.

  • Tree_Folds.m - this is ran inside the master_5fold.m script. It is the decision tree model that will load the train/test folds, select the phantoms used for classification, and produce results.

  • Tree_8train4test.m is a faster version that uses the train/test split.

  • There is a separate folder for some TeUS and ViTUS scripts

TeUS

  • generateTrainTestAllPlanes.m is the script that generates a train/test file for TeUS.
  • Jan20_9classes.m is a script that only uses 2 planes - one for train and one for test. Allows for fast testing.

ViTUS

  • createVirtualTeUSROI.m is an important function that will generate dynamic ROIs. Within this script, there is a for loop that goes through the number of necessary frames, calculates where the ROI should be, and selectes the RF data from that area.

IMPORTANT: To do dynamic ROI ViTUS, line 11 should be: movingROI(:,:,i) = phantom_RF(sample1:sample2, element1:element2,i). Note that the 3rd dimension is 'i' meaning that the frame used to create the movingROI changes

To do single frame ViTUS, line 11 should be: movingROI(:,:,i) = phantom_RF(sample1:sample2, element1:element2,1). Here, the 3rd dimension is '1' meaning the first frame is always used.

  • generateTrainTestAllPlanes_virtualTeus.m is the script that generates a train/test split for ViTUS

To run the experiments, simply specify the type in 'Experiment_Master_5fold.m' and the rest will happen automatically.

temporal-enhanced-ultrasound's People

Contributors

justingerolami avatar

Watchers

 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.