k-Wave Toolbox |
Convert scan-lines in polar coordinates to a B-mode ultrasound image
b_mode = scanConversion(scan_lines, steering_angles, image_size, c0, dt) b_mode = scanConversion(scan_lines, steering_angles, image_size, c0, dt, resolution)
scanConversion
computes the remapping between a series of scan lines in polar coordinates (i.e., taken at different steering angles) to a B-mode ultrasound image in Cartesian coordinates suitable for display. The remapping is performed using bilinear interpolation via interp2
.
|
matrix of scan lines indexed as (angle, time) |
|
array of scanning angles [degrees] |
|
[x, y] size of the desired output image [m] |
|
sound speed in the medium [m/s] |
|
time step used in the acquisition of the scan lines [s] |
|
optional input to set the resolution of the output images in pixels (default = [256, 256]) |
|
the converted B-mode ultrasound image |
interp2
scaleTime | sharpness |
© 2009-2014 Bradley Treeby and Ben Cox.