GithubHelp home page GithubHelp logo

decode_complete's Introduction

Recovery of the complete data set

Decode a set of focused transmit ultrasound beams into the "complete data set", indexed by individual transmit elements and receive channels. This decoding has many benefits for image quality:

  • Improved electronic signal-to-noise ratio
  • Synthetic transmit focusing, providing diffraction-limited resolution at all depths
  • Uniform field response from the recovered diverging waves (as opposed to focal gain at a fixed depth)
  • Flexibility to apply transmit apodization, phase aberration correction, or other aperture-domain processing

This code is based on the algorithm proposed in:

Bottenus, N. "Recovery of the complete data set from focused transmit beams". IEEE Transactions on Ultrasonics, Ferroelectrics, and Frequency Control, vol. 65, no. 1, pp. 30-38, Jan. 2018.

If you use the code/algorithm for research, please cite the above paper. For commercial use, please contact me at [email protected] to discuss the related IP.

You can reference a static version of this code released with the paper by its DOI number:

DOI

Sample results

Output of the sample code:

Recovered complete data set

Dynamic receive (conventional) processing of the same data set for reference:

Dynamic receive reference image

The code

This repository provides both a MATLAB and Python implementation of the decoding method.

MAT file

sample_data.mat is saved in Matlab v7 format for compatibility with Python. This data was acquired using the Verasonics Vantage research scanner.

  • rf - RF channel data (samples x receive channels x transmit events)
  • transmit_delays - The applied focal delays (transmit events x elements)
  • params:
    • c - Speed of sound
    • fs - Sampling frequency (Hz)
    • f0 - Transmit center frequency (Hz)
    • tx_pos - Array transmit position (x,y,z) (all zero)
    • rx_pos - Array element locations (x,y,z) (meters)
    • theta - Beam steering angles (degrees)
    • apex - Axial distance behind the array for the steered beams (meters)
    • focus - Transmit focal points relative to the array position (x,y,z) (meters)
    • t0 - Sample index of the first data point (negative indicates that recording started before transmission was finished)
    • samples - Number of axial samples in the data set

MATLAB

Both the frequency domain and time domain algorithms are implemented in decode_focused_beams.m.

See demo.m for an example of how to use the code with the provided sample experimental data. The provided demo code should run in several seconds on most modern computers.

Python

The frequency domain algorithm is implemented in decode_focused_beams.py in the decode(rf, delays) function.

See the main() function for an example of how to use the code with the provided sample experimental data. The demo code can be run as python decode_focused_beams.py.

decode_complete's People

Contributors

nbottenus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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