Skip to content

OmidChaghaneh/Clarius_parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clarius Parser

Utilities for unpacking Clarius ultrasound data samples and creating B-mode images.

Installation

  1. Install Python dependencies:
pip install -r requirements.txt

Running

Run both scripts in order:

Step 1: Unpack Samples

python 0_unpack_samples.py

This script automatically processes all sample folders found in data/samples/. Simply place any number of sample folders (each containing .tar files) in the data/samples/ directory, and the script will extract all tar archives from every sample folder.

Step 2: Create B-mode Images

python 1_create_bmode_images.py

This script automatically processes all extracted folders (*_extracted) found across all sample folders. It generates B-mode images from the extracted RF data and saves them in bmode_images/ folders within each extracted directory.

Important: Both scripts automatically handle an unlimited number of samples. Just add your sample folders to data/samples/ and run the scripts - they will process everything automatically.

Notes

  • Run 0_unpack_samples.py first, then 1_create_bmode_images.py
  • By default, B-mode images are created for the first frame only
  • Use --all-frames to process all frames: python 1_create_bmode_images.py --all-frames

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages