How to convert scan-lines in polar coordinates to a b-mode ?

Dear All,
I want to convert raw data from ultrasound equipment to b mode image.
If anyone know how to convert it please help or remcomend some method.
Thanks and Regards!
Han

1 commentaire

Hi Jenifer ,
did you figure it how how to convert a lateral kind plot to a phased array one ?
lateral we use imagesc but im looking for an alternative like for a sector scan ... to generate phantom images using steering angle theta

Connectez-vous pour commenter.

Réponses (1)

Vidip Jain
Vidip Jain le 20 Fév 2023
Hi Jenifer, here is a basic example of how you can convert raw ultrasound data into a B-mode image in MATLAB:
  1. Load the raw ultrasound data into MATLAB. The format of the raw data may vary depending on the type of ultrasound equipment used, but it is typically in a binary file format.
  2. Pre-process the raw data to remove any DC offset or noise, and adjust the gain and time-gain compensation (TGC) to enhance the image quality. This step is critical to ensure that the resulting image is accurate and of high quality.
  3. Apply a suitable envelope detection method, such as the Hilbert transform, to extract the envelope of the signal. This step is necessary to convert the raw data into a form that can be visualized as an image.
  4. Use an appropriate beamforming algorithm, such as delay-and-sum (DAS) or synthetic aperture imaging (SAI), to generate an image from the envelope data. This step involves combining the signals from multiple transducer elements to form a coherent image.
  5. Adjust the display settings of the image to optimize the contrast and brightness.
The resulting image is displayed using the imagesc function, which creates a 2D color-coded image from the data and here is the documentation for the same Display image with scaled colors - MATLAB imagesc (mathworks.com).

1 commentaire

Hi Vidip Jain,
Could you try with this Raw file ?
I use 35MHz transducer to get this raw image file.
Thanks you!
Hna

Connectez-vous pour commenter.

Catégories

En savoir plus sur Ultrasound Imaging dans Centre d'aide et File Exchange

Commenté :

le 21 Avr 2026

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by