fast::UFFScanConvert class

A scan converter for data from the ultrasound file format (UFF).

Constructors, destructors, conversion operators

UFFScanConvert()

Public functions

void loadData(std::shared_ptr<UFFData> uffData)
auto scanConvert(int newWidth, int newHeight, bool linearInterpolation) -> bool
auto getUffData() -> std::shared_ptr<UFFData>

Protected functions

auto scanConvertCartesianCoordinates(int newWidth = 512, int newHeight = 512, bool linearInterpolation = true) -> bool
auto scanConvertPolarCoordinates(int newWidth = 512, int newHeight = 512, bool linearInterpolation = true) -> bool
void normalizeEnvelopeAndLogCompress()
auto findMax() -> std::complex<double>
auto getCartesianPixelValue(double xIq, double yIq, int frameNr, bool linear) -> double
auto getPixelValue(double radius, double theta, int frameNr, bool linear = true) -> double
void getIteratorToElementAfterValue(double value, std::vector<double>& vector, std::vector<double>::iterator& iter)

Protected variables

std::shared_ptr<UFFData> m_uffData
std::vector<std::vector<double>> mBeamData