rf2image()
Description: Calculates the RF data and plots the B-mode image (interpolated).
Usage
rfdata = rf2image(image_data, xalines, c, fs, minz, maxz, window, level, varargin);
Arguments
- image_data The B-mode data.
- xalines The x coordinates of the A-lines.
- c Speed of sound (m/s).
- fs Frequency used to generate the B-mode data.
- minz Minimum z coordinate.
- maxz Maximum z coordinate.
- window Set dB level (0 to 60).
- level Adjust image contrast.
- varargin Optional
- "Ninterp" Sets the interpolation number (default = 10)
- "zshift" Offsets the z axis to adjust for time delay
- "maxx" Maximum x coordinate
Output Parameters
- rfdata The logarithmic compressed and interpolated image.
Notes
This function should not be used for high frequency images, for high frequency images use rf2imageni instead