Hi Matteo,
Thanks for your fast reply!
I am using the academic version SDK v2.42.4 from this link: Latest Academic Installers including Labels 2.42 - Academic - ImFusion Support Forum. This is the latest version available for academic user.
If I compiled the initial git code, I got the following error
’ Cannot open include file: ‘ImFusion/ML/Operations.h’: No such file or directory’
I checked the headers in my ImFusion Suite v2.42. Now there is no ‘Operations.h’ anymore. Instead, there is folder named ‘Operations’, and there are many .h files in it. For example,
‘operations/ReplaceLabelsValuesOperation.h’.
I checked the PRO-TIP code, the used operation is the ‘ReplaceLabelsValuesOperation’. So I modified the code from
‘#include <ImFusion/ML/Operations.h>’
to
‘#include <ImFusion/ML/Operations/ReplaceLabelsValuesOperation.h>’
, then I got the following error
D:\code\PRO-TIP-Automatic-Ultrasound-Calibration\ConeCalibrationPlugin\out\build\x64-Debug\ConeCalibrationAlgorithm.cpp.obj : error LNK2019: unresolved external symbol “__declspec(dllimport) public: __cdecl ImFusion::ML::MachineLearningModel::MachineLearningModel(class std::basic_string<char,struct std::char_traits,class std::allocator >,enum ImFusion::ML::PredictionOutput,bool)” (_imp??0MachineLearningModel@ML@ImFusion@@QEAA@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@W4PredictionOutput@12@_N@Z) referenced in function “public: int __cdecl ImFusion::ConeCalibrationAlgorithm::detectTips(int)” (?detectTips@ConeCalibrationAlgorithm@ImFusion@@QEAAHH@Z)
D:\code\PRO-TIP-Automatic-Ultrasound-Calibration\ConeCalibrationPlugin\out\build\x64-Debug\ConeCalibrationAlgorithm.cpp.obj : error LNK2019: unresolved external symbol “__declspec(dllimport) public: __cdecl ImFusion::Segmentation::Line2DReferenceShape::Line2DReferenceShape(class std::vector<class Eigen::Matrix<double,2,1,0,2,1>,class std::allocator<class Eigen::Matrix<double,2,1,0,2,1> > > const &)” (_imp??0Line2DReferenceShape@Segmentation@ImFusion@@QEAA@AEBV?$vector@V?$Matrix@N$01$00$0A@$01$00@Eigen@@V?$allocator@V?$Matrix@N$01$00$0A@$01$00@Eigen@@@std@@@std@@@Z) referenced in function “public: class std::vector<class ImFusion::ConeCalibrationAlgorithm::TrackedCone,class std::allocator > __cdecl ImFusion::ConeCalibrationAlgorithm::detectCones(class ImFusion::SharedImageSet *,int)” (?detectCones@ConeCalibrationAlgorithm@ImFusion@@QEAA?AV?$vector@VTrackedCone@ConeCalibrationAlgorithm@ImFusion@@V?$allocator@VTrackedCone@ConeCalibrationAlgorithm@ImFusion@@@std@@@std@@PEAVSharedImageSet@2@H@Z)
I hope that this is clear, otherwise please let me know and I will update.