Hi to all,
first of all thank you very much for thi useful tool. I have a question:
i'm trying to simulate an ultrasound video, in order to validate a tracking algorithm. Following the 3d ultrasound tutorial, i defined a volume of 40x20x20 mm^3 with a grid of 216x108x108 points. as usual 1 have that 1 grid point = 185,185 um
running the simulation i obtain an ultrasound b-mode image of 900x1200 px.
performing an
imagesc(horz_axis, r*1e3, scan_lines_fund.');
i obtain an image of 900x1200 px with the first axis (of 900px) in range [0 , 41,9722] and second axis (of 1200 px) in range [0 , 35,1852]
leading to a pixel dimension of 47 x 29 um.
my problem rises when i try to generate two different frame with 2 my high scattering object moved of 1 point grid, e.g. in 1200px axes direction, in this case i expected a movement of 1200 / 108 = 11,11 pixel, but i achieve a movement of about 10px...
what is the exact conversion factor between grid points displacements and pixels in cases like this?
thanks in advance
Salvatore