12 #ifndef CXRECONSTRUCTPREPROCESSOR_H_
13 #define CXRECONSTRUCTPREPROCESSOR_H_
15 #include "org_custusx_usreconstruction_Export.h"
44 std::vector<ProcessedUSInputDataPtr> createProcessedInput(std::vector<bool> angio);
49 void updateFromOriginalFileData();
50 void findExtentAndOutputTransform();
52 std::vector<Vector3D> generateInputRectangle();
53 void interpolatePositions();
54 double timeToPosition(
unsigned i_frame,
unsigned i_pos);
55 void filterPositions();
56 void positionThinning();
57 void applyTimeCalibration();
58 void alignTimeSeries();
59 void calibrateTimeStamps(
double offset,
double scale);
70 void convertToQuaternions(Eigen::ArrayXXd qPosArray,
int nQuaternions,
int nPositions,
int filterStrength);
71 Eigen::ArrayXXd filterQuaternionArray(Eigen::ArrayXXd qPosArray,
int nPositions,
int filterLength);
72 void convertFromQuaternion(Eigen::ArrayXXd qPosFiltered);
77 #endif // CXRECONSTRUCTPREPROCESSOR_H_